Commit 2851b302 authored by Nicolas Delaby's avatar Nicolas Delaby

Folder_reindexObjectList should be called only once

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17143 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4f36c3e
......@@ -122,7 +122,6 @@ except (NotImplementedError, AttributeError):\n
id_list_list = []\n
for bundle_index in xrange(len(id_list) / BUNDLE_ITEM_COUNT):\n
id_list_list.append(id_list[bundle_index * BUNDLE_ITEM_COUNT:((bundle_index + 1) * BUNDLE_ITEM_COUNT)])\n
Folder_reindexObjectList(id_list_list)\n
remaining_object_id_count = len(id_list) % BUNDLE_ITEM_COUNT\n
if remaining_object_id_count > 0:\n
id_list_list.append(id_list[-remaining_object_id_count:])\n
......
479
\ No newline at end of file
480
\ 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