diff options
author | Kali Kaneko <kali@leap.se> | 2015-01-04 03:37:18 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-02-11 14:05:43 -0400 |
commit | 84888155b09b3af6a755262b28728de2f851c8cb (patch) | |
tree | c45a09f7fee1ce1e83d3c36839993f0f1653d9dd /src/leap/mail/adaptors/models.py | |
parent | fa60b76ce9cdf6684945c6bc724f10818104166b (diff) |
tests for mail.mail module: Message
Diffstat (limited to 'src/leap/mail/adaptors/models.py')
-rw-r--r-- | src/leap/mail/adaptors/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/adaptors/models.py b/src/leap/mail/adaptors/models.py index 1648059..88e0e4e 100644 --- a/src/leap/mail/adaptors/models.py +++ b/src/leap/mail/adaptors/models.py @@ -89,7 +89,7 @@ class DocumentWrapper(object): if not attr.startswith('_') and attr not in normalized: raise RuntimeError( "Cannot set attribute because it's not defined " - "in the model: %s" % attr) + "in the model %s: %s" % (self.__class__, attr)) object.__setattr__(self, attr, value) def serialize(self): |