Commit 5704786c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix undefined names.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30420 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8c65de3d
...@@ -137,7 +137,7 @@ class SolverTool(BaseTool): ...@@ -137,7 +137,7 @@ class SolverTool(BaseTool):
# that a single decision is created per divergence tester instance # that a single decision is created per divergence tester instance
# and per application level list # and per application level list
solver_decision_dict = {} solver_decision_dict = {}
if movement in delivery_or_movement: for movement in delivery_or_movement:
for simulation_movement in movement.getDeliveryRelatedValueList(): for simulation_movement in movement.getDeliveryRelatedValueList():
simulation_movemet_url = simulation_movement.getRelativeUrl() simulation_movemet_url = simulation_movement.getRelativeUrl()
for divergence_tester in simulation_movement.getParentValue().getDivergenceTesterValueList(): for divergence_tester in simulation_movement.getParentValue().getDivergenceTesterValueList():
...@@ -153,7 +153,7 @@ class SolverTool(BaseTool): ...@@ -153,7 +153,7 @@ class SolverTool(BaseTool):
new_solver = self.newContent(portal_type='Solver Process') new_solver = self.newContent(portal_type='Solver Process')
for solver_decision_key, movement_dict in solver_decision_dict.items(): for solver_decision_key, movement_dict in solver_decision_dict.items():
new_decision = self.newContent(portal_type='Solver Decision') new_decision = self.newContent(portal_type='Solver Decision')
new_decision._setDeliveryList(movement_url.keys(p)) new_decision._setDeliveryList(movement_dict.keys())
new_decision._setSolver(solver_decision_key[0]) new_decision._setSolver(solver_decision_key[0])
# No need to set application_list or....? # No need to set application_list or....?
......
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