Commit 08710957 authored by Vincent Pelletier's avatar Vincent Pelletier

Add missing "self".

Fix typo in fallback variable name.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17706 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f0f8d08
...@@ -206,7 +206,7 @@ class BaobabConduit(ERP5Conduit): ...@@ -206,7 +206,7 @@ class BaobabConduit(ERP5Conduit):
except ImportError: except ImportError:
inventory_code_to_path = {} inventory_code_to_path = {}
vault_code_to_path = {} vault_code_to_path = {}
ariation_translate_dict = {} variation_translate_dict = {}
status_code_to_cash_status = {} status_code_to_cash_status = {}
former_coin_variation_list = [] former_coin_variation_list = []
default_letter_code = None default_letter_code = None
...@@ -593,10 +593,10 @@ class BaobabConduit(ERP5Conduit): ...@@ -593,10 +593,10 @@ class BaobabConduit(ERP5Conduit):
category = 'not_defined' category = 'not_defined'
elif base_key == 'letter_code': elif base_key == 'letter_code':
letter = kw[base_key] letter = kw[base_key]
if letter in valid_letter_code_set: if letter in self.valid_letter_code_set:
category = letter category = letter
else: else:
category = default_letter_code category = self.default_letter_code
else: else:
category = 'not_defined' category = 'not_defined'
# We must have at least a category for each axis # We must have at least a category for each axis
......
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