Commit 886621c9 authored by Jérome Perrin's avatar Jérome Perrin

reference was not set on the last line if it has no sub requirements

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23113 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6cdca5a0
......@@ -131,9 +131,7 @@ for requirement_item in requirements_items:\n
new_2nd_level_feat[\'description\'] = None\n
else:\n
has_2nd_level_requirement = False\n
\n
if not has_2nd_level_requirement:\n
description_dict[new_1st_level_requirement_title] =\\\n
description_dict[requirement_item[\'title\']] =\\\n
requirement_item[\'sub_description\']\n
\n
if has_2nd_level_requirement and new_1st_level_requirement != None:\n
......
561
\ No newline at end of file
563
\ No newline at end of file
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