Commit 895b9811 authored by Stefan H. Holek's avatar Stefan H. Holek

Repaired malformed call to logging.warn.

Fixes http://www.zope.org/Collectors/Zope/2176
parent 093e518d
...@@ -671,9 +671,9 @@ def import_products(): ...@@ -671,9 +671,9 @@ def import_products():
for priority, product_name, index, product_dir in products: for priority, product_name, index, product_dir in products:
if done.has_key(product_name): if done.has_key(product_name):
LOG.warn('Duplicate Product name', LOG.warn('Duplicate Product name: '
'After loading Product %s from %s,\n' 'After loading Product %s from %s, '
'I skipped the one in %s.\n' % ( 'I skipped the one in %s.' % (
`product_name`, `done[product_name]`, `product_dir`) ) `product_name`, `done[product_name]`, `product_dir`) )
continue continue
done[product_name]=product_dir done[product_name]=product_dir
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment