fix: folder/*: never set self.messagelist to None

Empty the list by setting an empty dict.
Introduce BaseFolder().ismessagelistempty().

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2015-02-13 17:02:33 +01:00
parent baee2b6fd9
commit 9e63fa3784
6 changed files with 16 additions and 13 deletions

View File

@ -155,9 +155,6 @@ class LocalStatusFolder(BaseFolder):
self.readstatus(cachefd)
cachefd.close()
def dropmessagelistcache(self):
self.messagelist = None
def save(self):
"""Save changed data to disk. For this backend it is the same as saveall."""