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

Andreas Jung andreas at andreas-jung.com
Sat Nov 18 05:32:09 EST 2006


Log message for revision 71179:
  fixed logger call

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

-=-
Modified: Products.Five/branches/1.0/fiveconfigure.py
===================================================================
--- Products.Five/branches/1.0/fiveconfigure.py	2006-11-18 10:31:49 UTC (rev 71178)
+++ Products.Five/branches/1.0/fiveconfigure.py	2006-11-18 10:32:09 UTC (rev 71179)
@@ -53,8 +53,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('Five', ERROR, 'Could not import Product %s' % product.__name__, error=exc)
+    LOG('Five', ERROR, 'Could not import Product %s' % product.__name__, error=True)
 
 def loadProducts(_context):
     products = findProducts()



More information about the Zope-Checkins mailing list