[PATCH] Always logout() on imaplib2 objects, even during exceptions
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the OfflineIMAP-project