docker-offlineimap/offlineimap
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
..
folder Fix md5 import error 2009-01-09 15:46:38 -06:00
repository Patch from Jim Pryor to support /etc/netrc in addition to ~/.netrc 2008-12-02 13:15:44 -06:00
ui Patch for signal handling to start a sync by Jim Pryor 2008-12-01 16:13:16 -06:00
__init__.py Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
accounts.py Apply remainder of Jim Pryor's patch 2008-12-02 13:12:36 -06:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
imaplibutil.py imaplibutil: Remove flagrantly bad use of private attribute 2008-09-29 17:50:50 -05:00
imapserver.py Apply new darwin.patch from Vincent Beffara 2008-09-18 09:23:37 -05:00
imaputil.py Update FSF address 2006-08-12 05:15:55 +01:00
init.py Patch for signal handling to start a sync by Jim Pryor 2008-12-01 16:13:16 -06:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py Patch for signal handling to start a sync by Jim Pryor 2008-12-01 16:13:16 -06:00
threadutil.py Patch to make exit on Ctrl-C cleaner 2008-12-01 16:10:49 -06:00
version.py Prepping 6.0.3 2008-08-13 00:05:17 -05:00