[PATCH] threadutil: add missing import os

Nicolas Sebrecht nicolas.s-dev at laposte.net
Mon May 9 21:59:07 BST 2011

We are missing this import since commit d839be3c61888a837b
(Sat Apr 16 20:33:35 2005 +0100) which was when John switched from SVN to Git.

Nobody seemed to raise a missing import which make me think this code is either
highly broken (we have dead code) or very safe. It would ask a closer review of
this area.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev at laposte.net>
 offlineimap/threadutil.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/offlineimap/threadutil.py b/offlineimap/threadutil.py
index 7ffcbe6..fa3be09 100644
--- a/offlineimap/threadutil.py
+++ b/offlineimap/threadutil.py
@@ -21,6 +21,7 @@ from Queue import Queue, Empty
 import traceback
 import thread
 import sys
+import os
 from offlineimap.ui import getglobalui
 profiledir = None

More information about the OfflineIMAP-project mailing list