From b470122c1866a14d7aab1e6be564c49abb9e2f9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 14 May 2010 14:00:38 +0000
Subject: [PATCH] fix variable name

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@35353 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/mixin/amount_generator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/mixin/amount_generator.py b/product/ERP5/mixin/amount_generator.py
index aebe31a2aa..95956284ef 100644
--- a/product/ERP5/mixin/amount_generator.py
+++ b/product/ERP5/mixin/amount_generator.py
@@ -297,7 +297,7 @@ class AmountGeneratorMixin:
           # Price is used as a ratio (also a kind of multiplier)
         for base_key in property_dict['base_contribution_list']:
           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"
                                " Generator Lines while processing %r" % self)
             else:
-- 
2.30.9