Commit b470122c authored by Aurel's avatar Aurel

fix variable name


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@35353 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f2f6f73a
...@@ -297,7 +297,7 @@ class AmountGeneratorMixin: ...@@ -297,7 +297,7 @@ class AmountGeneratorMixin:
# Price is used as a ratio (also a kind of multiplier) # Price is used as a ratio (also a kind of multiplier)
for base_key in property_dict['base_contribution_list']: for base_key in property_dict['base_contribution_list']:
if base_key in applied_base_amount_set: if base_key in applied_base_amount_set:
if self in check_wrong_index_list: if self in check_wrong_index_set:
raise ValueError("Duplicate or missing int_index on Amount" raise ValueError("Duplicate or missing int_index on Amount"
" Generator Lines while processing %r" % self) " Generator Lines while processing %r" % self)
else: else:
......
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