Commit 971b80dd authored by Romain Courteaud's avatar Romain Courteaud

Using document __repr__ returns the full document and make the LOG not readable.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34005 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7703c998
......@@ -164,7 +164,7 @@ class TextDocument(Document, TextContent):
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)
......
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