Commit 82fe6f9c authored by Sebastien Robin's avatar Sebastien Robin

fixed indentation of 2 lines

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9679 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0b2ec79
...@@ -443,13 +443,13 @@ class ERP5TypeInformation( FactoryTypeInformation, ...@@ -443,13 +443,13 @@ class ERP5TypeInformation( FactoryTypeInformation,
for role in role_text.split(';'): for role in role_text.split(';'):
role = role.strip() role = role.strip()
role_category_list = role_category_list_dict.setdefault(role, []) role_category_list = role_category_list_dict.setdefault(role, [])
category_value_dict = {'category_order':category_order_list}
for category_dict in category_result: for category_dict in category_result:
category_value_dict = {'category_order':category_order_list}
category_value_dict.update(category_dict) category_value_dict.update(category_dict)
for c in definition['category']: for c in definition['category']:
bc, value = c.split('/', 1) bc, value = c.split('/', 1)
category_value_dict[bc] = value category_value_dict[bc] = value
role_category_list.append(category_value_dict) role_category_list.append(category_value_dict)
# Generate security group ids from category_value_dicts # Generate security group ids from category_value_dicts
role_group_id_dict = {} role_group_id_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