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():
for priority, product_name, index, product_dir in products:
if done.has_key(product_name):
LOG.warn('Duplicate Product name',
'After loading Product %s from %s,\n'
'I skipped the one in %s.\n' % (
LOG.warn('Duplicate Product name: '
'After loading Product %s from %s, '
'I skipped the one in %s.' % (
`product_name`, `done[product_name]`, `product_dir`) )
continue
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