[Zope-Checkins] SVN: Products.Five/branches/1.5/fiveconfigure.py fixed logger call

Andreas Jung andreas at andreas-jung.com
Sat Nov 18 05:30:43 EST 2006


Log message for revision 71174:
  fixed logger call

Changed:
  U   Products.Five/branches/1.5/fiveconfigure.py

-=-
Modified: Products.Five/branches/1.5/fiveconfigure.py
===================================================================
--- Products.Five/branches/1.5/fiveconfigure.py	2006-11-18 10:30:16 UTC (rev 71173)
+++ Products.Five/branches/1.5/fiveconfigure.py	2006-11-18 10:30:42 UTC (rev 71174)
@@ -64,8 +64,7 @@
     # XXX It would be really cool if we could make this product appear broken
     # in the control panel. However, all attempts to do so has failed from my 
     # side. //regebro
-    exc = sys.exc_info()
-    LOG.error('Could not import Product %s' % product.__name__, exc_info=exc)
+    LOG.error('Could not import Product %s' % product.__name__, exc_info=True)
 
 def loadProducts(_context, file=None):
     if file is None:



More information about the Zope-Checkins mailing list