[PATCHv2 2/2] Re: Adapt the code to work with the new imaplib2
Sebastian Spaeth
Sebastian at SSpaeth.de
Mon Aug 15 12:17:20 BST 2011
On Mon, 15 Aug 2011 12:40:47 +0200, Nicolas Sebrecht wrote:
> Looks like with this topic I get
> elif isinstance(e, socket.error) and e.args[0] == errno.ECONNREFUSED:
> NameError: global name 'errno' is not defined
>
> global name 'errno' is not defined
Just sent a patch that fixes the missing import, not sure how it got
lost somewhere. Interesting that you would be getting a refused
connections.
I hope to have finished my series of destabilizing patches soon, so we
can stabilize things again... :-)
BTW, is there a python tool that can check for missing imports?
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110815/6c275d09/attachment-0001.sig>
More information about the OfflineIMAP-project
mailing list