[PATCH] IMAP.cachemessagelist(): Protect against empty folders

John Wiegley jwiegley at gmail.com
Mon Sep 5 19:17:54 BST 2011


>>>>> Sebastian Spaeth <Sebastian at SSpaeth.de> writes:

> When invoked with FETCH 1:* (UID), imaplib returns [None] for empty
> folders. We need to protect against this case and simply 'continue' here.

Thanks, that's fixed it.

John




More information about the OfflineIMAP-project mailing list