From 5ea22ceb0c49b727d2e69fa942d50d560e39d119 Mon Sep 17 00:00:00 2001 From: luc-demeyer Date: Fri, 2 Dec 2016 11:24:55 +0100 Subject: [PATCH] greenify - W0123 --- account_journal_report_xls/report/nov_account_journal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_journal_report_xls/report/nov_account_journal.py b/account_journal_report_xls/report/nov_account_journal.py index 960ef888..20ff9bb6 100644 --- a/account_journal_report_xls/report/nov_account_journal.py +++ b/account_journal_report_xls/report/nov_account_journal.py @@ -197,7 +197,7 @@ class nov_journal_print(report_sxw.rml_parse): code_string = j_obj._report_xls_document_extra( self.cr, self.uid, self.context) # _logger.warn('code_string= %s', code_string) - [x.update({'docname': eval(code_string) or '-'}) for x in lines] # noqa: disable W0123, safe_eval doesn't apply here since code_string comes from python module + [x.update({'docname': eval(code_string) or '-'}) for x in lines] # pylint: disable=W0123 # group lines if self.group_entries: