[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Application.py Repaired malformed call to logging.warn.

Stefan H. Holek stefan at epy.co.at
Sun Aug 27 09:45:44 EDT 2006


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

Changed:
  U   Zope/trunk/lib/python/OFS/Application.py

-=-
Modified: Zope/trunk/lib/python/OFS/Application.py
===================================================================
--- Zope/trunk/lib/python/OFS/Application.py	2006-08-27 13:44:44 UTC (rev 69793)
+++ Zope/trunk/lib/python/OFS/Application.py	2006-08-27 13:45:42 UTC (rev 69794)
@@ -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



More information about the Zope-Checkins mailing list