Commit 455f5eef authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Łukasz Nowak

Drop volatile when object is modified.

parent bd1de519
...@@ -166,6 +166,13 @@ class EmailDocument(TextDocument): ...@@ -166,6 +166,13 @@ class EmailDocument(TextDocument):
self._v_message = result self._v_message = result
return result return result
def _setData(self, data):
super(EmailDocument, self)._setData(data)
try:
del self._v_message
except AttributeError:
pass
def _getMessageTextPart(self): def _getMessageTextPart(self):
""" """
Return the main text part of the message data Return the main text part of the message data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment