Sense of block= parameter was inverted.

wip-fakessh-exit-status
David Wilson 7 years ago
parent 3eb60d777a
commit 815f23bddd

@ -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:

Loading…
Cancel
Save