A fix for bug with IMAP server not supporting APPENDUID

Nicolas Sebrecht nicolas.s-dev at laposte.net
Mon Jul 30 17:48:30 BST 2012


On Tue, May 29, 2012 at 10:17:12AM +0200, Tomasz Żok wrote:
> Hi,
> 
> nearly a month ago (2012-04-30 10:47:23 GMT) I sent a bug report about errors
> during sync and emails being repeated. I got no response to this, so I looked
> at it myself today. I am attaching a fix and paste a diff here - it was really
> a trivial one:
> 
> In file: /usr/lib/python2.7/site-packages/offlineimap/folder/IMAP.py
> 
> 585c585
> <                 if resp == [None]:
> ---
> >                 if not resp or resp == [None]:
> 
> 
> The bug was that with my IMAP server, the resp variable was None itself, not a
> list with None inside.

Anyone to take a further look at this, please?

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list