[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - connection.py:1.22
Guido van Rossum
guido@python.org
Fri, 13 Sep 2002 16:55:22 -0400
Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv8355
Modified Files:
connection.py
Log Message:
Subtle wording changes to the call and return log messages.
=== ZODB3/ZEO/zrpc/connection.py 1.21 => 1.22 ===
--- ZODB3/ZEO/zrpc/connection.py:1.21 Thu Sep 12 17:18:19 2002
+++ ZODB3/ZEO/zrpc/connection.py Fri Sep 13 16:55:22 2002
@@ -218,7 +218,7 @@
msg = "Invalid method name: %s on %s" % (name, repr(self.obj))
raise ZRPCError(msg)
if __debug__:
- log("%s%s" % (name, short_repr(args)), level=zLOG.BLATHER)
+ log("calling %s%s" % (name, short_repr(args)), level=zLOG.BLATHER)
meth = getattr(self.obj, name)
try:
@@ -238,7 +238,7 @@
(name, repr(ret)))
else:
if __debug__:
- log("%s return %s" % (name, short_repr(ret)), zLOG.DEBUG)
+ log("%s returns %s" % (name, short_repr(ret)), zLOG.DEBUG)
if isinstance(ret, Delay):
ret.set_sender(msgid, self.send_reply, self.return_error)
else: