[Zope-Checkins]
SVN: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py
fixed logger calls
Andreas Jung
andreas at andreas-jung.com
Fri Nov 17 10:55:06 EST 2006
Log message for revision 71155:
fixed logger calls
Changed:
U Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py
-=-
Modified: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py
===================================================================
--- Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py 2006-11-17 15:50:39 UTC (rev 71154)
+++ Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py 2006-11-17 15:55:05 UTC (rev 71155)
@@ -71,7 +71,7 @@
try: self.connect(self.connection_string)
except:
logger.error('Error connecting to relational database.',
- exc_info=exc_info())
+ exc_info=True)
def title_and_id(self):
s=Connection.inheritedAttribute('title_and_id')(self)
@@ -151,7 +151,7 @@
self._v_database_connection.close()
except:
logger.error('Error closing relational database connection.',
- error=exc_info())
+ exc_info=True)
self._v_connected=''
if REQUEST is not None:
return self.manage_main(self, REQUEST)
More information about the Zope-Checkins
mailing list