Commit 6b12a348 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2008-10-13 Kazuhiko

* avoid an error if membership_criterion_category has no '/'.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24583 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d43a3807
......@@ -56,8 +56,9 @@
<value> <string>cell = sci[\'object\']\n
\n
for membership_criterion_category in cell.getMembershipCriterionCategoryList():\n
base_category, category = membership_criterion_category.split(\'/\', 1)\n
cell.setProperty(base_category, category)\n
if membership_criterion_category.find(\'/\') != -1:\n
base_category, category = membership_criterion_category.split(\'/\', 1)\n
cell.setProperty(base_category, category)\n
</string> </value>
</item>
<item>
......
171
\ No newline at end of file
172
\ 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