Commit 2d468f0d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

if divergence is already solved in any reason, do nothing.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36752 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b3e7ffd5
......@@ -57,8 +57,9 @@
solver_process_tool = delivery.getPortalObject().portal_solver_processes\n
# XXX We sometimes want to store solver process document persistently.\n
solver_process = solver_process_tool.newSolverProcess(delivery, temp_object=True)\n
solver_process.buildTargetSolverList()\n
solver_process.solve()\n
if solver_process is not None:\n
solver_process.buildTargetSolverList()\n
solver_process.solve()\n
# XXX It can be required to wait indexing.\n
delivery.updateCausalityState(solve_automatically=False)\n
</string> </value>
......@@ -110,6 +111,7 @@ delivery.updateCausalityState(solve_automatically=False)\n
<string>_getattr_</string>
<string>solver_process_tool</string>
<string>True</string>
<string>None</string>
<string>solver_process</string>
<string>False</string>
</tuple>
......
786
\ No newline at end of file
787
\ 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