Browse Source

[FIX] report_py3o: Import new dependencies in try...except

pull/172/head
Omar 7 years ago
parent
commit
ae71d876a3
  1. 2
      report_py3o/models/py3o_report.py

2
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:

Loading…
Cancel
Save