Mercurial > libervia-backend
changeset 445:1c1d1a4994c4
plugin maildir: replaced forgotten setPrivate by PersistentBinaryDict.force
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 04 Dec 2011 00:03:15 +0100 |
parents | d67cae85c2f9 |
children | 39a8ca1a2675 |
files | src/plugins/plugin_misc_maildir.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_maildir.py Sat Dec 03 23:43:10 2011 +0100 +++ b/src/plugins/plugin_misc_maildir.py Sun Dec 04 00:03:15 2011 +0100 @@ -161,7 +161,7 @@ box_data['cur_idx']+=1 box_data[message_id]=[box_data['cur_idx'],[]] ret = box_data[message_id] - self.host.memory.setPrivate('MAILDIR_data',self.data) + self.data[profile].force(boxname) return ret def getNextUid(self, boxname, profile): @@ -227,7 +227,7 @@ if not box_data.has_key(mess_id): raise MailboxException("Trying to set flags for an unexisting message") box_data[mess_id][1]=flags - self.host.memory.setPrivate('MAILDIR_data',self.data) + self.data[profile].force(boxname) def getMessageIdsWithFlag(self, boxname, flag, profile): """Return ids of messages where a flag is set @@ -252,7 +252,7 @@ box_data = self.__getBoxData(boxname, profile) for mess_id in self.getMessageIdsWithFlag(boxname,"\\Deleted", profile): del(box_data[mess_id]) - self.host.memory.setPrivate('MAILDIR_data',self.data) + self.data[profile].force(boxname) def cleanTable(self, boxname, existant_id, profile): """Remove mails which no longuer exist from the table