Commit fafe37c5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

call solver tool's method directly instead of depending on acquisition.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33566 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9f2e5d9f
......@@ -188,6 +188,7 @@ class SolverProcess(XMLObject, ActiveProcess):
# delivery lines. Let group decisions in such way
# that a single decision is created per divergence tester instance
# and per application level list
solver_tool = self.getParentValue()
solver_decision_dict = {}
for movement in movement_list:
for simulation_movement in movement.getDeliveryRelatedValueList():
......@@ -195,7 +196,7 @@ class SolverProcess(XMLObject, ActiveProcess):
if divergence_tester.compare(simulation_movement, movement):
continue
application_list = map(lambda x:x.getRelativeUrl(),
self.getSolverDecisionApplicationValueList(movement, divergence_tester))
solver_tool.getSolverDecisionApplicationValueList(movement, divergence_tester))
application_list.sort()
solver_decision_key = (divergence_tester.getRelativeUrl(), tuple(application_list))
movement_dict = solver_decision_dict.setdefault(solver_decision_key, {})
......
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