[PATCH] fix: when called with -a, mbnames must not erase entries of other accounts

Nicolas Sebrecht nicolas.s-dev at laposte.net
Sat Jun 25 16:38:51 BST 2016


On Sat, Jun 25, 2016 at 11:48:17AM +0200, Łukasz Żarnowiecki wrote:

> On Thu, Jun 23, 2016 at 01:00:03AM +0200, Nicolas Sebrecht wrote:
> > +def add(accountname, folder_root, foldername):
> > +    if _mbnames is None:
> > +        return
> 
> Could it happen that add is called before init?

It's not that it can be called before but _mbnames might be None if the
feature is not enabled.

So, PATCH v4 is the correct one.

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list