diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-12 12:42:02 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-17 11:39:50 -0400 |
commit | ac4c70f0be36c985e16e3f4ec0a38ef6f8d48166 (patch) | |
tree | b6e62c041f7131f86543efebf6ac873ecb0efe8d /src/leap/mail/imap/mailbox.py | |
parent | b520a60d0e48f36dcebe03d19b65839afc460fe9 (diff) |
remove all refs during removal, and protect from empty docs
Diffstat (limited to 'src/leap/mail/imap/mailbox.py')
-rw-r--r-- | src/leap/mail/imap/mailbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/mailbox.py b/src/leap/mail/imap/mailbox.py index d18bc9a..045de82 100644 --- a/src/leap/mail/imap/mailbox.py +++ b/src/leap/mail/imap/mailbox.py @@ -609,7 +609,7 @@ class SoledadMailbox(WithMsgFields, MBoxParser): logger.debug("Getting msg by index: INEFFICIENT call!") raise NotImplementedError else: - got_msg = [(msgid, getmsg(msgid)) for msgid in seq_messg] + got_msg = ((msgid, getmsg(msgid)) for msgid in seq_messg) result = ((msgid, msg) for msgid, msg in got_msg if msg is not None) self.reactor.callLater(0, self.unset_recent_flags, seq_messg) |