From 4a0d17b566509aac293446161a6c1a667cd9c2c5 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Mon, 15 Aug 2011 13:15:36 +0200 Subject: [PATCH] Import errno we need errno.CONNREFUSED, but through some merging mishaps(?) the part that actually imported errno was missing. Import the errno module. Signed-off-by: Sebastian Spaeth Signed-off-by: Nicolas Sebrecht --- offlineimap/imapserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/offlineimap/imapserver.py b/offlineimap/imapserver.py index 28511bb..6534f13 100644 --- a/offlineimap/imapserver.py +++ b/offlineimap/imapserver.py @@ -24,6 +24,7 @@ import offlineimap.accounts import hmac import socket import base64 +import errno from socket import gaierror try: