Commit 0347bb46 authored by Fabien Morin's avatar Fabien Morin

it's not possible to concatenate tuple to list


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24216 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6b55f3d4
......@@ -396,7 +396,7 @@ def addTestMethodDynamically(validator):
for business_template_info in business_template_info_list:
for module_id, module_portal_type in business_template_info.modules.items():
portal_type_list = [module_portal_type, ] + \
business_template_info.allowed_content_types.get(module_portal_type, ())
business_template_info.allowed_content_types.get(module_portal_type, [])
portal_type_path_dict = {}
portal_type_path_dict = dict(map(None,portal_type_list,portal_type_list))
testPortalTypeViewRecursivly(validator=validator,
......
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