[PATCH] Re: Support subjectAltName in SSL certificates

Nicolas Sebrecht nicolas.s-dev at laposte.net
Wed Feb 23 12:43:02 GMT 2011


On Wed, Feb 23, 2011 at 10:00:14AM +0100, Thomas Jost wrote:
> 
> Signed-off-by: Thomas Jost <schnouki at schnouki.net>
> ---
>  offlineimap/imaplibutil.py |   27 ++++++++++++++++++++-------
>  1 files changed, 20 insertions(+), 7 deletions(-)

Thanks; looks good to me. Cc'ing Sebastian, too.

Other than that, we could squash this in:

-- >8 -- UNTESTED -- >8 --


diff --git a/offlineimap/imaplibutil.py b/offlineimap/imaplibutil.py
index f513e02..69d3983 100644
--- a/offlineimap/imaplibutil.py
+++ b/offlineimap/imaplibutil.py
@@ -17,10 +17,9 @@
 
 import re, socket, time, subprocess
 from offlineimap.ui import getglobalui
-from imaplib import *
 
 # Import the symbols we need that aren't exported by default
-from imaplib import IMAP4_PORT, IMAP4_SSL_PORT, InternalDate, Mon2num
+from imaplib import IMAP4_PORT, IMAP4_SSL_PORT, InternalDate, Mon2num, IMAP4, IMAP4_SSL
 
 try:
     import ssl
-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list