diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-02-27 12:47:11 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-02-27 12:47:11 -0300 |
commit | 1348abaef5ac93692c308b910b41524e39cd627e (patch) | |
tree | ef69432c768ff7045616f409fe3709377f410fed /src/leap/mail/imap/mailbox.py | |
parent | 8a9e4239cfd4c8fc87721de41037dce566c67de5 (diff) | |
parent | 733994d68b9f3ce528b552f67e9cbec005e57e9f (diff) |
Merge remote-tracking branch 'refs/remotes/kali/bug/delete_folder' into develop
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 |