Commit b1b9756f authored by Nicolas Dumazet's avatar Nicolas Dumazet

missing method parameters


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42610 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 748b5d93
...@@ -497,7 +497,8 @@ class PropertyHolder: ...@@ -497,7 +497,8 @@ class PropertyHolder:
""" """
Return the list of class method IDs Return the list of class method IDs
""" """
return [x[0] for x in self.getClassMethodItemList()] return [x[0] for x in self.getClassMethodItemList(klass,
inherited=inherited, local=local)]
def getClassPropertyItemList(self, klass, inherited=1, local=1): def getClassPropertyItemList(self, klass, inherited=1, local=1):
""" """
...@@ -510,7 +511,8 @@ class PropertyHolder: ...@@ -510,7 +511,8 @@ class PropertyHolder:
""" """
Return the list of class method IDs Return the list of class method IDs
""" """
return [x[0] for x in self.getClassPropertyItemList()] return [x[0] for x in self.getClassPropertyItemList(klass,
inherited=inherited, local=local)]
def getClassPropertyList(klass): def getClassPropertyList(klass):
ps_list = getattr(klass, 'property_sheets', ()) ps_list = getattr(klass, 'property_sheets', ())
......
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