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

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Sep 6 18:08:21 BST 2011


On Tue, Sep 06, 2011 at 09:07:07AM +0200, Sebastian Spaeth wrote:
> On Mon, 05 Sep 2011 13:17:54 -0500, John Wiegley <jwiegley at gmail.com> wrote:
> > >>>>> 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.
> 
> Good to know, Nicolas ready to push? We got a Tested-by here :-)

Yep, merged. Thanks both!

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list