/head: changeset 123
- Made folder/Maildir.py/deletemessage() more tolerant if a message asked to be deleted already has been. - In Base.py/copymessageto(), no longer bother calling getmessage() unless a folder's storemessages() returns true. This will also help with syncing to LocalStatus if the user deleted messages in the Maildir since the cachemessagelist() was called.
This commit is contained in:
@ -29,6 +29,9 @@ class LocalStatusFolder(BaseFolder):
|
||||
self.filename = os.path.join(root, name)
|
||||
self.messagelist = None
|
||||
|
||||
def storesmessages(self):
|
||||
return 0
|
||||
|
||||
def isnewfolder(self):
|
||||
return not os.path.exists(self.filename)
|
||||
|
||||
|
Reference in New Issue
Block a user