Commit 57a1ad6c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

code simplification.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31110 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ab1b8bf6
...@@ -214,8 +214,7 @@ class RuleMixin: ...@@ -214,8 +214,7 @@ class RuleMixin:
for movement in movement_diff.getNewMovementList(): for movement in movement_diff.getNewMovementList():
# This case is easy, because it is an applied rule # This case is easy, because it is an applied rule
kw = movement_diff.getMovementPropertyDict(movement) kw = movement_diff.getMovementPropertyDict(movement)
movement = context.newContent(portal_type='Simulation Movement') movement = context.newContent(portal_type='Simulation Movement', **kw)
movement.edit(**kw)
# Placeholder for methods to override # Placeholder for methods to override
def _getMovementGenerator(self): def _getMovementGenerator(self):
......
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