diff options
author | Kali Kaneko <kali@leap.se> | 2015-07-09 15:41:23 -0400 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2015-07-13 11:55:30 -0400 |
commit | 48d0039284a7780fcac7c0b3bc995dbd4694791f (patch) | |
tree | 6f003a36682a0ebe6b3591da8fd4b4848e8a4e8a /mail/src/leap | |
parent | a18a74252337093f9dd3f474bc88bee241242182 (diff) |
[bug] do not raise if the pending insert cannot be removed
Diffstat (limited to 'mail/src/leap')
-rw-r--r-- | mail/src/leap/mail/mail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/mail.py b/mail/src/leap/mail/mail.py index feed11b5..f6936dd3 100644 --- a/mail/src/leap/mail/mail.py +++ b/mail/src/leap/mail/mail.py @@ -490,7 +490,7 @@ class MessageCollection(object): def cleanup_and_get_doc_after_pending_insert(result): for key in result: - self._pending_inserts.pop(key) + self._pending_inserts.pop(key, None) return get_doc_fun(self.mbox_uuid, uid) if not self._pending_inserts: |