[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - client.py:1.12
Jeremy Hylton
jeremy@zope.com
Thu, 12 Sep 2002 17:43:44 -0400
Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv18433
Modified Files:
client.py
Log Message:
addr is often a tuple so it can't be passed to string format directly
=== ZODB3/ZEO/zrpc/client.py 1.11 => 1.12 ===
--- ZODB3/ZEO/zrpc/client.py:1.11 Thu Sep 12 13:58:04 2002
+++ ZODB3/ZEO/zrpc/client.py Thu Sep 12 17:43:43 2002
@@ -382,7 +382,7 @@
try:
(stub, preferred) = self.client.testConnection(c)
except:
- log("error in testConnection (%r)" % addr,
+ log("error in testConnection (%r)" % (addr,),
level=zLOG.ERROR, error=sys.exc_info())
c.close()
# Closing the ZRPC connection will eventually close the
@@ -392,7 +392,7 @@
try:
self.client.notifyConnected(stub)
except:
- log("error in notifyConnected (%r)" % addr,
+ log("error in notifyConnected (%r)" % (addr,),
level=zLOG.ERROR, error=sys.exc_info())
c.close()
return 0