Commit 16b2b0c5 authored by Jérome Perrin's avatar Jérome Perrin

small bug fix


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3611 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a7301a29
......@@ -119,7 +119,7 @@ class PreferenceTool(BaseTool):
# then generate common method names
# (XXX should be available from ERP5Type API ?)
for attribute in [ prop['id'] for prop in property_sheet._properties ]\
+ getattr(property_sheet, '_categories', []) :
+ list(getattr(property_sheet, '_categories', [])) :
attr_list += [ attribute,
'get%s' % convertToUpperCase(attribute),
'get%sId' % convertToUpperCase(attribute),
......
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