[Zodb-checkins] CVS: StandaloneZODB/ZEO - StorageServer.py:1.32.6.4
Jeremy Hylton
jeremy@zope.com
Thu, 17 Jan 2002 23:51:38 -0500
Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv32657/ZEO
Modified Files:
Tag: Standby-branch
StorageServer.py
Log Message:
Fix repr() to print class name and not constant "StorageProxy"
=== StandaloneZODB/ZEO/StorageServer.py 1.32.6.3 => 1.32.6.4 ===
else:
stid = None
- return "<StorageProxy %X trans=%s s_trans=%s>" % (id(self), tid,
- stid)
+ name = self.__class__.__name__
+ return "<%s %X trans=%s s_trans=%s>" % (name, id(self), tid, stid)
def _log(self, msg, level=zLOG.INFO, error=None, pid=os.getpid()):
zLOG.LOG("ZEO Server:%s:%s" % (pid, self.__storage_id),