From 7c00c6cd86a6c3093fa44da36b936d56941ccafb Mon Sep 17 00:00:00 2001 From: Nicolas Bessi Date: Fri, 11 Jul 2014 17:42:52 +0200 Subject: [PATCH] [FIX] flake8 pep8 for account_tax_update --- account_tax_update/model/update_tax_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_tax_update/model/update_tax_config.py b/account_tax_update/model/update_tax_config.py index ed2c86990..5c3238127 100644 --- a/account_tax_update/model/update_tax_config.py +++ b/account_tax_update/model/update_tax_config.py @@ -164,7 +164,7 @@ class UpdateTaxConfig(orm.Model): # 6.0 messes up the name change with copy + write, while # 6.1 throws name uniqueness constraint violation # So jumping some hoops with rewriting the new name - ## We will check if we need to dupliace + # We will check if we need to dupliace cp_base_code_id = False cp_ref_base_code_id = False cp_tax_code_id = False @@ -187,7 +187,7 @@ class UpdateTaxConfig(orm.Model): line.source_tax_id.tax_code_id.id, {'name': rename_old}) if line.source_tax_id.ref_base_code_id: - ## Check if with have the same tax code for base_code_id + # Check if with have the same tax code for base_code_id if line.source_tax_id.ref_base_code_id.id == line.source_tax_id.base_code_id.id: cp_ref_base_code_id = cp_base_code_id else: