Log message for revision 71154: error=sys.exc_info() -> exc_info=True *SIGH*
Changed: U Zope/branches/2.9/lib/python/OFS/ObjectManager.py U Zope/branches/2.9/lib/python/Products/BTreeFolder2/BTreeFolder2.py U Zope/branches/2.9/lib/python/Products/PythonScripts/PythonScript.py U Zope/branches/2.9/lib/python/Products/Sessions/SessionDataManager.py U Zope/branches/2.9/lib/python/Products/Transience/Transience.py -=- Modified: Zope/branches/2.9/lib/python/OFS/ObjectManager.py =================================================================== --- Zope/branches/2.9/lib/python/OFS/ObjectManager.py 2006-11-17 15:32:54 UTC (rev 71153) +++ Zope/branches/2.9/lib/python/OFS/ObjectManager.py 2006-11-17 15:50:39 UTC (rev 71154) @@ -677,7 +677,7 @@ stat=marshal.loads(v.manage_FTPstat(REQUEST)) except: logger.error("Failed to stat file '%s'" % k, - error=sys.exc_info()) + exc_info=True) stat=None if stat is not None: out=out+((k,stat),) Modified: Zope/branches/2.9/lib/python/Products/BTreeFolder2/BTreeFolder2.py =================================================================== --- Zope/branches/2.9/lib/python/Products/BTreeFolder2/BTreeFolder2.py 2006-11-17 15:32:54 UTC (rev 71153) +++ Zope/branches/2.9/lib/python/Products/BTreeFolder2/BTreeFolder2.py 2006-11-17 15:50:39 UTC (rev 71154) @@ -193,7 +193,7 @@ return 1 except AssertionError: LOG.warn( 'Detected damage to %s. Fixing now.' % path, - error=sys.exc_info()) + exc_info=True) try: self._tree = OOBTree(self._tree) mt_index = OOBTree() @@ -202,7 +202,7 @@ self._mt_index = mt_index except: LOG.error('Failed to fix %s.' % path, - error=sys.exc_info()) + exc_info=True) raise else: LOG.info('Fixed %s.' % path) Modified: Zope/branches/2.9/lib/python/Products/PythonScripts/PythonScript.py =================================================================== --- Zope/branches/2.9/lib/python/Products/PythonScripts/PythonScript.py 2006-11-17 15:32:54 UTC (rev 71153) +++ Zope/branches/2.9/lib/python/Products/PythonScripts/PythonScript.py 2006-11-17 15:50:39 UTC (rev 71154) @@ -440,7 +440,7 @@ else: self._makeFunction() except: - LOG.error('write failed', error=sys.exc_info()) + LOG.error('write failed', exc_info=True) raise def manage_FTPget(self): Modified: Zope/branches/2.9/lib/python/Products/Sessions/SessionDataManager.py =================================================================== --- Zope/branches/2.9/lib/python/Products/Sessions/SessionDataManager.py 2006-11-17 15:32:54 UTC (rev 71153) +++ Zope/branches/2.9/lib/python/Products/Sessions/SessionDataManager.py 2006-11-17 15:50:39 UTC (rev 71154) @@ -284,7 +284,7 @@ getSessionData = sdm.getSessionData except: msg = 'Session automatic traversal failed to get session data' - logger.warn(msg, error=sys.exc_info()) + logger.warn(msg, exc_info=True) return # set the getSessionData method in the "lazy" namespace Modified: Zope/branches/2.9/lib/python/Products/Transience/Transience.py =================================================================== --- Zope/branches/2.9/lib/python/Products/Transience/Transience.py 2006-11-17 15:32:54 UTC (rev 71153) +++ Zope/branches/2.9/lib/python/Products/Transience/Transience.py 2006-11-17 15:50:39 UTC (rev 71154) @@ -801,7 +801,7 @@ err = 'No such onAdd/onDelete method %s referenced via %s' LOG.warning( err % (callback, '/'.join(path)), - error=sys.exc_info() + exc_info=True() ) return else: @@ -822,7 +822,7 @@ LOG.warning( '%s failed when calling %s in %s' % (name,callback, '/'.join(path)), - error=sys.exc_info() + exc_info=True() ) finally: setSecurityManager(sm) @@ -831,7 +831,7 @@ path = self.getPhysicalPath() LOG.warning( err % (name, '/'.join(path), callback), - error=sys.exc_info() + exc_info=True() ) def getId(self): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins