/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:
jgoerzen
2002-07-16 03:26:58 +01:00
parent 09cf911d53
commit d3f86beb9f
9 changed files with 366 additions and 234 deletions

View File

@ -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)