Browse Source

greenify - W0123

pull/253/head
luc-demeyer 8 years ago
parent
commit
a1c7b3d198
  1. 6
      account_journal_report_xls/report/nov_account_journal.py

6
account_journal_report_xls/report/nov_account_journal.py

@ -197,7 +197,11 @@ 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] # pylint: disable=W0123 # noqa: disable E501, safe_eval doesn't apply here since code_string comes from python module
# disable=W0123, safe_eval doesn't apply here since
# code_string comes from python module
[x.update(
{'docname': eval(code_string) or '-'}) # pylint: disable=W0123
for x in lines]
# group lines
if self.group_entries:

Loading…
Cancel
Save