Commit 234477c3 authored by Denis Bilenko's avatar Denis Bilenko

wait() is slightly more appropriate here

parent 075c4420
......@@ -287,5 +287,5 @@ class JoinableQueue(Queue):
self._cond.set()
def join(self):
self._cond.get()
self._cond.wait()
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