summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail/mail.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-12 19:13:09 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-12 19:13:36 +0200
commit5dd3177c5a7f453a5840012bf260b73ec6de2e77 (patch)
tree4cea80db0c9643ee7a4fe4efd699411b32946dcb /src/leap/bitmask/mail/mail.py
parent79541c6958dc5a526dee461db8e5a073e1ba7273 (diff)
[bug] delay initialization of pixelated
- Related: #8798
Diffstat (limited to 'src/leap/bitmask/mail/mail.py')
-rw-r--r--src/leap/bitmask/mail/mail.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/mail/mail.py b/src/leap/bitmask/mail/mail.py
index 30fbd497..9f60ff00 100644
--- a/src/leap/bitmask/mail/mail.py
+++ b/src/leap/bitmask/mail/mail.py
@@ -392,9 +392,8 @@ class MessageCollection(object):
@property
def mbox_uuid(self):
- # TODO raise instead?
if self.mbox_wrapper is None:
- return None
+ raise RuntimeError("This is not a mailbox collection")
return self.mbox_wrapper.uuid
def get_mbox_attr(self, attr):