[Zodb-checkins] CVS: ZEO/ZEO - StorageServer.py:1.38
Shane Hathaway
shane@cvs.zope.org
Fri, 21 Jun 2002 10:54:24 -0400
Update of /cvs-repository/ZEO/ZEO
In directory cvs.zope.org:/tmp/cvs-serv7636
Modified Files:
StorageServer.py
Log Message:
slog(), called when a routine error happens in store(), had a NameError on
self, which effectively turned the error into a fatal error. Fixed.
=== ZEO/ZEO/StorageServer.py 1.37 => 1.38 ===
name = getattr(storage, '__name__', None)
if name is None:
- name = str(self.storage)
+ name = str(storage)
zLOG.LOG("ZEO Server:%s:%s" % (pid, name), level, msg, error=error)
class StorageServerError(StorageError):