[Zodb-checkins] CVS: ZEO/ZEO - StorageServer.py:1.32.6.3.2.8
Jeremy Hylton
jeremy@zope.com
Mon, 5 Aug 2002 14:55:16 -0400
Update of /cvs-repository/ZEO/ZEO
In directory cvs.zope.org:/tmp/cvs-serv20875
Modified Files:
Tag: ZEO2-branch
StorageServer.py
Log Message:
Fix reference to storage in slog(). (Should not use self.)
=== ZEO/ZEO/StorageServer.py 1.32.6.3.2.7 => 1.32.6.3.2.8 ===
def slog(storage, msg, level=zLOG.INFO, error=None, pid=os.getpid()):
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):