Commit 9a3f98d3 authored by Jérome Perrin's avatar Jérome Perrin

for safety, don't use mutable default arguments

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20401 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7a708b8a
No related merge requests found
......@@ -257,10 +257,10 @@ class Rule(Predicate, XMLObject):
deletable_movement_list)
def _getCompensatedMovementList(self, applied_rule,
matching_property_list=[
matching_property_list=(
'resource',
'variation_category_list',
'variation_property_dict'], **kw):
'variation_property_dict',), **kw):
"""
Compute the difference between prevision and existing movements
......
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