From b0fd6c6ab8caf8cb0f30af4c9df595a5fbddfbaf Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Wed, 21 Sep 2011 00:46:46 +0200 Subject: [PATCH] Do not import threading.* Only import the lock, that we actually need. Also import the with statement for use with python 2.5. We'll need it for sure in this file. Signed-off-by: Sebastian Spaeth --- offlineimap/folder/UIDMaps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/offlineimap/folder/UIDMaps.py b/offlineimap/folder/UIDMaps.py index fa1924d..5da8e00 100644 --- a/offlineimap/folder/UIDMaps.py +++ b/offlineimap/folder/UIDMaps.py @@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -from threading import * +from __future__ import with_statement # needed for python 2.5 +from threading import Lock from IMAP import IMAPFolder import os.path