task_done wasn't in Python before 2.5
This commit is contained in:
@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user