Commit 0d807d0d authored by Nicolas Dumazet's avatar Nicolas Dumazet

We are going to join the list eventually. Avoid string concatenations and defer

them for the last operation



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30321 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 192bc016
......@@ -254,7 +254,7 @@ class Measure(XMLMatrix):
# variation_list is multiplied by len(getVariationCategoryList).
# The lists of each pairs in variation_list get one more element:
# variation_category.
variation_list = [(regex_list + [variation_category + '\n'],
variation_list = [(regex_list + [variation_category, '\n'],
variation_base_category_list + [variation_category])
for variation_category in resource.getVariationCategoryList(
base_category_list=(variation_base_category,),
......
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