Fix another Python 3.4 circular import

This commit is contained in:
Florian Bruhin 2017-09-14 23:23:05 +02:00
parent b8fb88f4c2
commit c031a7ab3d

View File

@ -20,9 +20,6 @@
"""Exceptions related to config parsing.""" """Exceptions related to config parsing."""
from qutebrowser.utils import jinja
class Error(Exception): class Error(Exception):
"""Base exception for config-related errors.""" """Base exception for config-related errors."""
@ -101,6 +98,7 @@ class ConfigFileErrors(Error):
self.errors = errors self.errors = errors
def to_html(self): def to_html(self):
from qutebrowser.utils import jinja
template = jinja.environment.from_string(""" template = jinja.environment.from_string("""
Errors occurred while reading {{ basename }}: Errors occurred while reading {{ basename }}: