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: try:
msg = queue.get(block, 0.5) msg = queue.get(block, 0.5)
except Queue.Empty: except Queue.Empty:
if block: if not block:
break break
if msg is None: if msg is None:

Loading…
Cancel
Save