task_done wasn't in Python before 2.5

This commit is contained in:
John Goerzen 2008-08-11 20:38:33 -05:00
parent 1d91fb7a96
commit 9551e9d38e

View File

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