Commit a8f61347 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 50dc6467
......@@ -8,6 +8,8 @@ Zope Changes
Bugs fixed
- Collector #2176: Fixed bad logging call.
- Collector #1907: Moved 'alt' property from File to Image.
- Collector #1983: Specifying session-resolution-seconds >= 1200 caused
......
......@@ -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