[Zodb-checkins] SVN: ZODB/branches/jim-zrpc/src/ZEO/zrpc/connection.py Collapse further
Jim Fulton
jim at zope.com
Wed Jan 27 13:59:12 EST 2010
Log message for revision 108578:
Collapse further
Changed:
U ZODB/branches/jim-zrpc/src/ZEO/zrpc/connection.py
-=-
Modified: ZODB/branches/jim-zrpc/src/ZEO/zrpc/connection.py
===================================================================
--- ZODB/branches/jim-zrpc/src/ZEO/zrpc/connection.py 2010-01-27 18:43:14 UTC (rev 108577)
+++ ZODB/branches/jim-zrpc/src/ZEO/zrpc/connection.py 2010-01-27 18:59:12 UTC (rev 108578)
@@ -680,14 +680,9 @@
The calls will not be interleaved with other calls from the same
client.
"""
- self.message_output(self.__outputIterator(iterator))
+ self.message_output(self.marshal.encode(0, 1, method, args)
+ for method, args in iterator)
- def __outputIterator(self, iterator):
- for method, args in iterator:
- if debug_zrpc:
- self.log("__outputIterator: %s, ..." % (method), level=TRACE)
- yield self.marshal.encode(0, 1, method, args)
-
def handle_reply(self, msgid, ret):
assert msgid == -1 and ret is None
More information about the Zodb-checkins
mailing list