[PATCH] Always logout() on imaplib2 objects, even during exceptions
Sebastian Spaeth
Sebastian at SSpaeth.de
Fri Mar 25 08:46:39 GMT 2011
Right, ctrl-c will probably not interrupt a folder sync, due to the
locks not reacting to interrupts (which I consider a python deficiency).
On Thu, 24 Mar 2011 14:51:10 -0400, Ethan Glasser-Camp <ethan at betacantrips.com> wrote:
> Without this, trying to Ctrl-C out of offlineimap will go into a hang.
Weird, I thought I had tried something like this locally and it did not
solve it for me. But if it does for you, great.
This is in any case the *correct* thing to do, so +1 on the patch.
Reviewed-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
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/20110325/ebb1f129/attachment-0001.sig>
More information about the OfflineIMAP-project
mailing list