From 9551e9d38e32a0945aa9e80639effe96a490ba9f Mon Sep 17 00:00:00 2001 From: John Goerzen Date: Mon, 11 Aug 2008 20:38:33 -0500 Subject: [PATCH] task_done wasn't in Python before 2.5 --- offlineimap/threadutil.py | 1 - 1 file changed, 1 deletion(-) diff --git a/offlineimap/threadutil.py b/offlineimap/threadutil.py index 599aa8d..afcad25 100644 --- a/offlineimap/threadutil.py +++ b/offlineimap/threadutil.py @@ -115,7 +115,6 @@ def exitnotifymonitorloop(callback): try: thrd = exitthreads.get(False) callback(thrd) - exitthreads.task_done() except Empty: time.sleep(1)