Commit 6e2d85d8 authored by Aurel's avatar Aurel

propagate start_tree & stop_tree parameters even when reindexing tools

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44314 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 11ba0fb1
......@@ -110,7 +110,9 @@ context.portal_categories.activate(\n
object_after_tag=object_after_tag,\n
object_priority=higher_priority,\n
sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit,)\n
passive_commit=passive_commit,\n
start_tree=start_tree,\n
stop_tree=stop_tree,)\n
\n
print "#### Indexing alarms ####"\n
print "#### Indexing active results ####"\n
......@@ -130,7 +132,9 @@ for folder in [context.portal_alarms, context.portal_activities]:\n
object_after_tag=object_after_tag,\n
object_priority=object_priority,\n
sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit,)\n
passive_commit=passive_commit,\n
start_tree=start_tree,\n
stop_tree=stop_tree,)\n
\n
# We index simulation first to make sure we can calculate tests\n
# (ie. related quantity)\n
......@@ -150,7 +154,9 @@ context.portal_simulation.activate(\n
object_after_tag=object_after_tag,\n
object_priority=higher_priority,\n
sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit,)\n
passive_commit=passive_commit,\n
start_tree=start_tree,\n
stop_tree=stop_tree,)\n
\n
# We index templates secondly\n
print "#### Indexing templates ####"\n
......@@ -197,7 +203,9 @@ for folder in tool_list:\n
object_after_tag=object_after_tag,\n
object_priority=object_priority,\n
sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit,)\n
passive_commit=passive_commit,\n
start_tree=start_tree,\n
stop_tree=stop_tree,)\n
\n
# Then we index everything except inventories\n
for folder in portal.objectValues(("ERP5 Folder",)):\n
......
40932
\ No newline at end of file
40933
\ 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