Commit 65b9cead authored by Nicolas Dumazet's avatar Nicolas Dumazet

remove redundant assignment

The first statement in the loop body is "keep_movement = False", effectively
making this line useless


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31506 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5acbbb09
...@@ -93,8 +93,8 @@ class TradeCondition(Path, Transformation, XMLMatrix): ...@@ -93,8 +93,8 @@ class TradeCondition(Path, Transformation, XMLMatrix):
# check if the movement is a generated one or entered by the user. # check if the movement is a generated one or entered by the user.
# If it has been entered by user, keep it. # If it has been entered by user, keep it.
if not movement.getBaseApplicationList(): if not movement.getBaseApplicationList():
keep_movement = True
continue continue
for amount in aggregated_amount_list: for amount in aggregated_amount_list:
# if movement is generated and if not exist, append to delete list # if movement is generated and if not exist, append to delete list
update_kw = {} update_kw = {}
......
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