[Erp5-report] r34005 romain - /erp5/trunk/products/ERP5/Document/TextDocument.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 23 14:33:43 CET 2010
Author: romain
Date: Tue Mar 23 14:33:42 2010
New Revision: 34005
URL: http://svn.erp5.org?rev=34005&view=rev
Log:
Using document __repr__ returns the full document and make the LOG not readable.
Modified:
erp5/trunk/products/ERP5/Document/TextDocument.py
Modified: erp5/trunk/products/ERP5/Document/TextDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TextDocument.py?rev=34005&r1=34004&r2=34005&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TextDocument.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TextDocument.py [utf8] Tue Mar 23 14:33:42 2010
@@ -164,7 +164,7 @@
except AttributeError:
LOG('TextDocument', WARNING, 'could not get the substitution'
' mapping method %s from %r, so the content will not be'
- ' substituted.' % (method_id, self))
+ ' substituted.' % (method_id, self.getRelativeUrl()))
return text
is_str = isinstance(text, str)
More information about the Erp5-report
mailing list