Commit e6268b0a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove ERP5 Python Script reindex code from ERP5Site_reindexAll for now, that...

remove ERP5 Python Script reindex code from ERP5Site_reindexAll for now, that does not work in bootstrap.
this commit partially reverts adee3e48.
parent 6e6f07ca
...@@ -182,13 +182,6 @@ for folder in tool_list:\n ...@@ -182,13 +182,6 @@ for folder in tool_list:\n
start_tree=start_tree,\n start_tree=start_tree,\n
stop_tree=stop_tree,)\n stop_tree=stop_tree,)\n
\n \n
# Then we index ERP5 Python Scripts\n
print "#### Indexing ERP5 Python Scripts ####"\n
for path, obj in portal.portal_skins.ZopeFind(portal.portal_skins, obj_metatypes=(\'ERP5 Python Script\',), search_sub=1):\n
obj.activate(tag=folder_tag,\n
priority=object_priority,\n
after_tag=folder_after_tag).immediateReindexObject(sql_catalog_id=sql_catalog_id)\n
\n
# Then we index everything except inventories\n # Then we index everything except inventories\n
for folder in portal.objectValues(("ERP5 Folder",)):\n for folder in portal.objectValues(("ERP5 Folder",)):\n
if folder.getId().find(\'inventory\') < 0:\n if folder.getId().find(\'inventory\') < 0:\n
......
41058 41059
\ 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