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