From f66bbd627596483e8f20c199d7d7e5d61c804c17 Mon Sep 17 00:00:00 2001 From: Omar Date: Thu, 9 Nov 2017 11:28:11 +0100 Subject: [PATCH] [FIX] report_py3o: Import new dependencies in try...except --- report_py3o/models/py3o_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_py3o/models/py3o_report.py b/report_py3o/models/py3o_report.py index 01decb42..13f95c3a 100644 --- a/report_py3o/models/py3o_report.py +++ b/report_py3o/models/py3o_report.py @@ -9,7 +9,6 @@ import json import logging import os from contextlib import closing -from genshi.core import Markup import pkg_resources import requests @@ -28,6 +27,7 @@ try: from py3o.template.helpers import Py3oConvertor from py3o.template import Template from py3o import formats + from genshi.core import Markup except ImportError: logger.debug('Cannot import py3o.template') try: