[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - connection.py:1.26

Guido van Rossum guido@python.org
Tue, 17 Sep 2002 11:11:36 -0400


Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv8552

Modified Files:
	connection.py 
Log Message:
Remove unused argument in poll().  Fix comment in pending().


=== ZODB3/ZEO/zrpc/connection.py 1.25 => 1.26 ===
--- ZODB3/ZEO/zrpc/connection.py:1.25	Mon Sep 16 23:15:26 2002
+++ ZODB3/ZEO/zrpc/connection.py	Tue Sep 17 11:11:36 2002
@@ -386,7 +386,7 @@
         finally:
             self.__replies_cond.release()
 
-    def poll(self, wait_for_reply=0):
+    def poll(self):
         """Invoke asyncore mainloop to get pending message out."""
         if __debug__:
             log("poll(), async=%d" % self.is_async(), level=zLOG.TRACE)
@@ -402,7 +402,7 @@
         if self.is_async():
             return
         # Inline the asyncore poll3 function to know whether any input
-        # was actually read.  Repeat until know input is ready.
+        # was actually read.  Repeat until no input is ready.
         # XXX This only does reads.
         poll = select.poll()
         poll.register(self._fileno, select.POLLIN)