Commit 7d2387b8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

unify indent level. define __repr__.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23199 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent da531c2e
......@@ -88,4 +88,11 @@ class ObjectMessage:
return None
def __repr__(self):
repr_str = '<%s object at 0x%x\n ' % (self.__class__.__name__, id(self))
repr_str += ' \n'.join([' %r: %r' % (k, v) \
for k, v in self.__dict__.items()])
repr_str += '>'
return repr_str
allow_class(ObjectMessage)
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