From 0f65e66c698e6f46165d4dd5cad152ba2c8267e3 Mon Sep 17 00:00:00 2001 From: Alex Comba Date: Thu, 18 Dec 2014 09:34:49 +0100 Subject: [PATCH] Fix pylint errors --- base_partner_merge/base_partner_merge.py | 2 +- partner_auto_salesman/__init__.py | 2 +- partner_firstname/tests/__init__.py | 2 +- res_partner_affiliate/__init__.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/base_partner_merge/base_partner_merge.py b/base_partner_merge/base_partner_merge.py index 416430d0b..f3d1055ad 100644 --- a/base_partner_merge/base_partner_merge.py +++ b/base_partner_merge/base_partner_merge.py @@ -20,7 +20,7 @@ from openerp.osv import fields from openerp.osv.orm import browse_record from openerp.tools.translate import _ -pattern = re.compile("&(\w+?);") +pattern = re.compile(r"&(\w+?);") _logger = logging.getLogger('base.partner.merge') diff --git a/partner_auto_salesman/__init__.py b/partner_auto_salesman/__init__.py index baddfb7e4..2db3e2a08 100644 --- a/partner_auto_salesman/__init__.py +++ b/partner_auto_salesman/__init__.py @@ -19,4 +19,4 @@ # ############################################################################## -import res_partner +from . import res_partner diff --git a/partner_firstname/tests/__init__.py b/partner_firstname/tests/__init__.py index c0902dd38..5c1049505 100644 --- a/partner_firstname/tests/__init__.py +++ b/partner_firstname/tests/__init__.py @@ -28,7 +28,7 @@ # ############################################################################## -import test_partner_firstname +from . import test_partner_firstname checks = [ test_partner_firstname diff --git a/res_partner_affiliate/__init__.py b/res_partner_affiliate/__init__.py index 998876a61..3cd8dd337 100644 --- a/res_partner_affiliate/__init__.py +++ b/res_partner_affiliate/__init__.py @@ -19,4 +19,4 @@ # ############################################################################## -import res_partner +from . import res_partner