Commit 7ae5c4ca authored by Jean-Paul Smets's avatar Jean-Paul Smets

Improved text description

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17514 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 354495d2
...@@ -319,9 +319,10 @@ class EmailDocument(File, TextDocument): ...@@ -319,9 +319,10 @@ class EmailDocument(File, TextDocument):
security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData') security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData')
def hasBaseData(self): def hasBaseData(self):
""" """
Since there is no need to convert to a base format, we consider that Since there is no need to convert to a base format, we consider that
we always have the base format if we have text of file. we always have the base format data if and only is we have
some text defined or a file.
""" """
return self.hasFile() or self.hasTextContent() return self.hasFile() or self.hasTextContent()
......
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