[PATCH] Import errno

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Aug 15 12:15:36 BST 2011


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 <Sebastian at SSpaeth.de>
---
Not sure how that import got lost, I surely had it in my patches at some point
Sorry for causing this trouble, this patch should be applied in any case too.

 offlineimap/imapserver.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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:
-- 
1.7.4.1





More information about the OfflineIMAP-project mailing list