Complete.Org: Mailing Lists: Archives: offlineimap: November 2008:
[PATCH] Import md5 from hashlib rather than directly.
Home

[PATCH] Import md5 from hashlib rather than directly.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [PATCH] Import md5 from hashlib rather than directly.
From: Loui Chang <louipc.ist@xxxxxxxxx>
Date: Thu, 20 Nov 2008 17:35:33 -0500

Signed-off-by: Loui Chang <louipc.ist@xxxxxxxxx>
---
 offlineimap/folder/Maildir.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/offlineimap/folder/Maildir.py b/offlineimap/folder/Maildir.py
index d1921b8..1b69116 100644
--- a/offlineimap/folder/Maildir.py
+++ b/offlineimap/folder/Maildir.py
@@ -16,11 +16,12 @@
 #    along with this program; if not, write to the Free Software
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
+import os.path, os, re, time, socket
 from Base import BaseFolder
 from offlineimap import imaputil
 from offlineimap.ui import UIBase
 from threading import Lock
-import os.path, os, re, time, socket, md5
+from hashlib import md5
 
 uidmatchre = re.compile(',U=(\d+)')
 flagmatchre = re.compile(':.*2,([A-Z]+)')
-- 
1.6.0.4




[Prev in Thread] Current Thread [Next in Thread]