Commit 39e25d31 authored by Jérome Perrin's avatar Jérome Perrin

wrong split() usage ...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22924 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 229c515d
......@@ -315,7 +315,7 @@ def testPortalTypeViewRecursivly(validator, module_id, business_template_info,
action_information['visible']==1 and
action_information['text'].startswith('string:${object_url}/') and
len(action_information['text'].split('/'))==2):
view_name = action_information['text'].split('/')[-1].split('?', 0)
view_name = action_information['text'].split('/')[-1].split('?')[0]
method = makeTestMethod(validator,
module_id,
portal_path,
......
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