diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-25 22:38:29 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-27 11:44:54 -0400 |
commit | 733994d68b9f3ce528b552f67e9cbec005e57e9f (patch) | |
tree | ef69432c768ff7045616f409fe3709377f410fed /src/leap/mail/imap/mailbox.py | |
parent | 8a9e4239cfd4c8fc87721de41037dce566c67de5 (diff) |
rename all fdocs when folder is renamed
Diffstat (limited to 'src/leap/mail/imap/mailbox.py')
-rw-r--r-- | src/leap/mail/imap/mailbox.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/mail/imap/mailbox.py b/src/leap/mail/imap/mailbox.py index d8e6cb1..503e38b 100644 --- a/src/leap/mail/imap/mailbox.py +++ b/src/leap/mail/imap/mailbox.py @@ -337,6 +337,8 @@ class SoledadMailbox(WithMsgFields, MBoxParser): """ if self._uidvalidity is None: mbox = self._get_mbox_doc() + if mbox is None: + return 0 self._uidvalidity = mbox.content.get(self.CREATED_KEY, 1) return self._uidvalidity |