Commit fe18a975 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix typos.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30990 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2072de70
......@@ -132,7 +132,7 @@ class RuleMixin:
else:
tester_key.append(None)
tester_key = tuple(tester_key)
decision_movement_dict.setdefaults(tester_key, []).append(movement)
decision_movement_dict.setdefault(tester_key, []).append(movement)
prevision_movement_dict = {}
for movement in prevision_movement_list:
tester_key = []
......@@ -142,7 +142,7 @@ class RuleMixin:
else:
tester_key.append(None)
tester_key = tuple(tester_key)
prevision_movement_dict.setdefaults(tester_key, []).append(movement)
prevision_movement_dict.setdefault(tester_key, []).append(movement)
# Prepare a mapping between prevision and decision
# The prevision_to_decision_map is a list of tuples
......
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