Commit 81054d81 authored by Fabien Morin's avatar Fabien Morin

if no default value is passed to getPropertyList, None is used


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27400 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a5233c4c
......@@ -42,7 +42,7 @@ class CategoryMovementGroup(PropertyMovementGroup):
property_dict = {}
for prop in self.getTestedPropertyList():
property_dict['%s_list' % prop] = sorted(
movement.getPropertyList(prop, None))
movement.getPropertyList(prop))
return property_dict
def test(self, document, property_dict, property_list=None, **kw):
......
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