From 533d35145f165d285194ab3e1ad2b6ebf01b22a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 20 Sep 2006 18:25:29 +0000 Subject: [PATCH] overload __repr__ for easyier debugging git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10213 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Message.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/Message.py b/product/ERP5Type/Message.py index 0783475a8f..b45aab8e9b 100644 --- a/product/ERP5Type/Message.py +++ b/product/ERP5Type/Message.py @@ -129,6 +129,7 @@ class Message(Persistent): if isinstance(message, unicode): message = message.encode('utf-8') return message + __repr__ = __str__ def __unicode__(self): """ -- 2.30.9