docker-offlineimap/offlineimap/folder
Paul Hinze c5886074ee Fix md5 import error
Paul Hinze <paul.t.hinze@gmail.com> on 2008-12-22 at 19:16:
> I did a bit of debugging and asking around in #python and it turns out
> that because Maildir.py uses a conditional import of md5 from either
> hashlib or the md5 module, the md5.new() call is not always correct.
> The attached patch should fix this problem.

Thanks to Daniel Rall for pointing out that the attachment got stripped
off my last message.  Patch follows.

Paul

----

From e01fdfbf62c61c31b514e826e6cc00fb98d88808 Mon Sep 17 00:00:00 2001
From: Paul Hinze <paul.t.hinze@gmail.com>
Date: Mon, 22 Dec 2008 18:42:44 -0600
Subject: [PATCH] Fixing md5 import when hashlib is available

Thanks to habnabit and Rhamphoryncus in #python for help debugging
2009-01-09 15:46:38 -06:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Sync INTERNALDATE <-> mtime 2006-08-22 02:09:36 +01:00
Gmail.py make the trash and spam folder names in Gmail accounts configurable 2008-08-13 00:03:13 -05:00
IMAP.py Update for 5.99.7 2008-03-04 08:32:29 -06:00
LocalStatus.py Fix syntax error in nofsync support 2008-08-02 15:11:23 -05:00
Maildir.py Fix md5 import error 2009-01-09 15:46:38 -06:00
UIDMaps.py Sync INTERNALDATE <-> mtime 2006-08-22 02:09:36 +01:00