SVN: ZODB/branches/jim-zrpc/src/ZEO/zrpc/connection.py Collapse further

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.