Mercurial > libervia-backend
comparison src/plugins/plugin_misc_maildir.py @ 338:6dcdc4cf8622
plugin maildir: fixed typo
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 26 May 2011 16:47:39 +0200 |
parents | 27bc5d7732a3 |
children | efbfccfed623 |
comparison
equal
deleted
inserted
replaced
337:4402ac630712 | 338:6dcdc4cf8622 |
---|---|
472 def removeDeleted(self): | 472 def removeDeleted(self): |
473 """Actually delete message flagged "\\Deleted" | 473 """Actually delete message flagged "\\Deleted" |
474 Also purge the internal data of these messages | 474 Also purge the internal data of these messages |
475 """ | 475 """ |
476 for mess_id in self.getMessageIdsWithFlag("\\Deleted"): | 476 for mess_id in self.getMessageIdsWithFlag("\\Deleted"): |
477 print ("Deleting %s", mess_id) | 477 print ("Deleting %s" % mess_id) |
478 self.mailbox.deleteMessage(self.getIdxFromId(mess_id)) | 478 self.mailbox.deleteMessage(self.getIdxFromId(mess_id)) |
479 self.mailbox = maildir.MaildirMailbox(self.mailbox_path) #We need to reparse the dir to have coherent indexing | 479 self.mailbox = maildir.MaildirMailbox(self.mailbox_path) #We need to reparse the dir to have coherent indexing |
480 self.maildir.purgeDeleted(self.name, profile=self.profile) | 480 self.maildir.purgeDeleted(self.name, profile=self.profile) |
481 | 481 |
482 def emptyTrash(self): | 482 def emptyTrash(self): |