diff options
Diffstat (limited to 'src/leap/bitmask/mail')
-rw-r--r-- | src/leap/bitmask/mail/mail.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/mail/mail.py b/src/leap/bitmask/mail/mail.py index 30fbd49..9f60ff0 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): |