Commit dd82cae9 authored by Nicolas Dumazet's avatar Nicolas Dumazet

initialize PropertyHolder attributes to avoid copy pasting code


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42803 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b31046c0
......@@ -324,6 +324,11 @@ class PropertyHolder(object):
self.security = ClassSecurityInfo() # We create a new security info object
self.workflow_method_registry = {}
self._categories = []
self._properties = []
self._constraints = []
self.constraints = []
def _getItemList(self):
return [x for x in self.__dict__.items() if x[0] not in
PropertyHolder.RESERVED_PROPERTY_SET]
......
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