task_done wasn't in Python before 2.5
This commit is contained in:
parent
1d91fb7a96
commit
9551e9d38e
@ -115,7 +115,6 @@ def exitnotifymonitorloop(callback):
|
|||||||
try:
|
try:
|
||||||
thrd = exitthreads.get(False)
|
thrd = exitthreads.get(False)
|
||||||
callback(thrd)
|
callback(thrd)
|
||||||
exitthreads.task_done()
|
|
||||||
except Empty:
|
except Empty:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user