From c802ac3fd01170262cfb940c71d35383dba6293a Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 26 May 2015 23:32:46 +0200 Subject: [PATCH] Try to shut-up pylint --- intrastat_base/intrastat_common.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/intrastat_base/intrastat_common.py b/intrastat_base/intrastat_common.py index ccd9920..5b2bfee 100644 --- a/intrastat_base/intrastat_common.py +++ b/intrastat_base/intrastat_common.py @@ -112,8 +112,8 @@ class ReportIntrastatCommon(models.AbstractModel): @api.multi def _attach_xml_file(self, xml_string, declaration_name): - '''Attach the XML file to the report_intrastat_product/service ''' - '''object''' + '''Attach the XML file to the report_intrastat_product/service + object''' self.ensure_one() import base64 filename = '%s_%s.xml' % (self.year_month, declaration_name) @@ -127,8 +127,8 @@ class ReportIntrastatCommon(models.AbstractModel): @api.model def _open_attach_view(self, attach_id, title='XML file'): - '''Returns an action which opens the form view of the ''' - '''corresponding attachement''' + '''Returns an action which opens the form view of the + corresponding attachement''' action = { 'name': title, 'view_type': 'form',