Commit 0814da74 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a misusage of str.split().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40247 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 88881f5c
...@@ -57,7 +57,7 @@ publication_section_list=[]\n ...@@ -57,7 +57,7 @@ publication_section_list=[]\n
if \'publication_section\' not in context.getMembershipCriterionBaseCategoryList():\n if \'publication_section\' not in context.getMembershipCriterionBaseCategoryList():\n
return publication_section_list\n return publication_section_list\n
for category in context.getMembershipCriterionCategoryList():\n for category in context.getMembershipCriterionCategoryList():\n
base_category, category_id = category.split(\'/\', 2)\n base_category, category_id = category.split(\'/\', 1)\n
if base_category == \'publication_section\':\n if base_category == \'publication_section\':\n
publication_section_list.append(category_id)\n publication_section_list.append(category_id)\n
return publication_section_list\n return publication_section_list\n
......
82 83
\ No newline at end of file \ 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