From 7ae5c4ca53ba8c65cc47048fed430fbf75696686 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sat, 10 Nov 2007 18:29:20 +0000
Subject: [PATCH] Improved text description

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17514 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/EmailDocument.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/Document/EmailDocument.py b/product/ERP5/Document/EmailDocument.py
index 5331de78d9..29aab93609 100644
--- a/product/ERP5/Document/EmailDocument.py
+++ b/product/ERP5/Document/EmailDocument.py
@@ -319,9 +319,10 @@ class EmailDocument(File, TextDocument):
 
   security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData')
   def hasBaseData(self):
-    """ 
+    """
       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()
 
-- 
2.30.9