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?

> +    def writeIntermediateFile(self, accountname):
> +        try:
> +            self._intermediates[accountname].write()
> +        except (OSError, IOError) as e:
> +            self.ui.error(
> +                e,
> +                exc_info()[2],
> +                "intermediate mbnames file %s not properly written"% 
> self._path
> +            )

What about intermediate files of accounts that have been removed after
some time?

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to