Commit 1865a291 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Don't include Enum representation in EnumItem __repr__ implementation to improve

message readability.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1106 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 132d5f2c
......@@ -47,7 +47,7 @@ class EnumItem(int):
return self.name
def __repr__(self):
return '<EnumItem %r (%r) of %r>' % (self.name, int(self), self.enum)
return '<EnumItem %r (%r)>' % (self.name, int(self))
class Enum(dict):
"""
......
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