Commit 533d3514 authored by Jérome Perrin's avatar Jérome Perrin

overload __repr__ for easyier debugging



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10213 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d24fde7b
......@@ -129,6 +129,7 @@ class Message(Persistent):
if isinstance(message, unicode):
message = message.encode('utf-8')
return message
__repr__ = __str__
def __unicode__(self):
"""
......
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