Commit 08f4155f authored by Łukasz Nowak's avatar Łukasz Nowak

Put portal_solvers in possible list.

This avoids issues, when portal_solvers are not available yet, and reindexation
was already triggered.
parent 88f21b3c
...@@ -185,10 +185,10 @@ tool_list = [portal.portal_templates, portal.portal_trash,\n ...@@ -185,10 +185,10 @@ tool_list = [portal.portal_templates, portal.portal_trash,\n
portal.portal_deliveries, portal.portal_orders,\n portal.portal_deliveries, portal.portal_orders,\n
portal.portal_caches, portal.portal_types,\n portal.portal_caches, portal.portal_types,\n
portal.portal_property_sheets,\n portal.portal_property_sheets,\n
portal.portal_ids, portal.portal_memcached,\n portal.portal_ids, portal.portal_memcached,]\n
portal.portal_solvers]\n
possible_tool_list = [\'portal_gadgets\', \'portal_contribution_registry\',\n possible_tool_list = [\'portal_gadgets\', \'portal_contribution_registry\',\n
\'portal_roundings\', \'portal_contributions\']\n \'portal_roundings\', \'portal_contributions\',
\'portal_solvers\']\n
for tool_id in possible_tool_list:\n for tool_id in possible_tool_list:\n
if getattr(portal, tool_id, None) is not None:\n if getattr(portal, tool_id, None) is not None:\n
tool_list.append(getattr(portal, tool_id))\n tool_list.append(getattr(portal, tool_id))\n
......
40966 40967
\ 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