[Zodb-checkins] CVS: StandaloneZODB/ZEO - zrpc2.py:1.1.2.25
Jeremy Hylton
jeremy@zope.com
Thu, 10 Jan 2002 19:15:32 -0500
Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv21701
Modified Files:
Tag: ZEO-ZRPC-Dev
zrpc2.py
Log Message:
Add a missing zLOG call on successful connect().
Revise XXX comment about a missing one.
=== StandaloneZODB/ZEO/zrpc2.py 1.1.2.24 => 1.1.2.25 ===
elif e == 0:
c = self._test_connection(s, addr)
+ zLOG.LOG(_label, zLOG.DEBUG, "connected to %s" % repr(addr))
if c:
self.connected = 1
raise self.Connected(s)
@@ -584,7 +585,7 @@
self.connection = c
return 1
except:
- # log something here?
+ # XXX zLOG the error
c.close()
return 0