Commit 2892cbaf authored by Jérome Perrin's avatar Jérome Perrin

silent log and reorganize code


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13573 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8dca993
...@@ -161,10 +161,11 @@ class ERP5GroupManager(BasePlugin): ...@@ -161,10 +161,11 @@ class ERP5GroupManager(BasePlugin):
security_category_dict.items(): security_category_dict.items():
for category_dict in category_value_list: for category_dict in category_value_list:
try: try:
group_id_list = group_id_list_generator(category_order=base_category_list, group_id_list = group_id_list_generator(
category_order=base_category_list,
**category_dict) **category_dict)
LOG('group_id_list', 0, str(group_id_list)) if isinstance(group_id_list, str):
if isinstance(group_id_list, str): group_id_list = [group_id_list] group_id_list = [group_id_list]
security_group_list.extend(group_id_list) security_group_list.extend(group_id_list)
except ConflictError: except ConflictError:
raise raise
......
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