Commit 8eb5fa9d authored by Nicolas Dumazet's avatar Nicolas Dumazet

fix catalogTransformationList: current_batch should be a list of tuples


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33976 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e32412a2
...@@ -73,8 +73,9 @@ for i, transformation in enumerate(getDefaultConversionTransformationValue):\n ...@@ -73,8 +73,9 @@ for i, transformation in enumerate(getDefaultConversionTransformationValue):\n
current_batch.append((transformation_relative_url, variation_list_list))\n current_batch.append((transformation_relative_url, variation_list_list))\n
current_size += size\n current_size += size\n
else:\n else:\n
if current_batch:\n
context.activate(activity=\'SQLQueue\').SQLCatalog_catalogTransformation(current_batch)\n context.activate(activity=\'SQLQueue\').SQLCatalog_catalogTransformation(current_batch)\n
current_batch = (transformation_relative_url, variation_list_list),\n current_batch = [(transformation_relative_url, variation_list_list)]\n
current_size = size\n current_size = size\n
\n \n
\n \n
......
184 185
\ 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