Commit 815f23bd authored by David Wilson's avatar David Wilson

Sense of block= parameter was inverted.

parent 3eb60d77
......@@ -273,7 +273,7 @@ def _queue_interruptible_get(queue, timeout=None, block=True):
try:
msg = queue.get(block, 0.5)
except Queue.Empty:
if block:
if not block:
break
if msg is None:
......
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