Browse Source

Avoid coverage errors on an ImportError that will never happen in bots.

pull/229/head
Jairo Llopis 8 years ago
committed by GitHub
parent
commit
9aa79997fc
  1. 2
      account_financial_report_qweb/report/abstract_report_xlsx.py

2
account_financial_report_qweb/report/abstract_report_xlsx.py

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
try:
import xlsxwriter
except ImportError:
except ImportError: # pragma: no cover
import logging
_logger = logging.getLogger(__name__)
_logger.info("Missing dependency: xlsxwriter.")

Loading…
Cancel
Save