Commit 48bf9875 authored by David Wilson's avatar David Wilson

issue #20: fix queue.get() parameter list.

parent 19869da0
......@@ -271,7 +271,7 @@ def _queue_interruptible_get(queue, timeout=None, block=True):
msg = None
while msg is None and (timeout is None or timeout < time.time()):
try:
msg = queue.get(True, 0.5, block=block)
msg = queue.get(block, 0.5)
except Queue.Empty:
if block:
break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment