Log message for revision 69793:
  Repaired malformed call to logging.warn.
  Fixes http://www.zope.org/Collectors/Zope/2176
  

Changed:
  U   Zope/branches/2.10/doc/CHANGES.txt
  U   Zope/branches/2.10/lib/python/OFS/Application.py

-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.10/doc/CHANGES.txt  2006-08-27 13:22:31 UTC (rev 69792)
+++ Zope/branches/2.10/doc/CHANGES.txt  2006-08-27 13:44:44 UTC (rev 69793)
@@ -8,6 +8,8 @@
 
     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

Modified: Zope/branches/2.10/lib/python/OFS/Application.py
===================================================================
--- Zope/branches/2.10/lib/python/OFS/Application.py    2006-08-27 13:22:31 UTC 
(rev 69792)
+++ Zope/branches/2.10/lib/python/OFS/Application.py    2006-08-27 13:44:44 UTC 
(rev 69793)
@@ -671,9 +671,9 @@
 
     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

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to