[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Make TimeoutQueue compatible with python2.3 version



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv23378/lib/mixminion

Modified Files:
	Common.py 
Log Message:
Make TimeoutQueue compatible with python2.3 version

Index: Common.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Common.py,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- Common.py	7 Nov 2003 07:35:11 -0000	1.115
+++ Common.py	7 Nov 2003 08:02:23 -0000	1.116
@@ -1579,9 +1579,9 @@
 else:
     class TimeoutQueue(ClearableQueue):
         """DOCDOC -- for python 2.2 and earlier."""
-        def get(self, blocking=1, timeout=None):
+        def get(self, block=1, timeout=None):
             if timeout is None:
-                return MessageQueue.get(self, blocking)
+                return MessageQueue.get(self, block)
 
             # Adapted from 'Condition'.
             _time = time.time