From c031a7ab3d05411e76cc44a9739d7281d818861f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 14 Sep 2017 23:23:05 +0200 Subject: [PATCH] Fix another Python 3.4 circular import --- qutebrowser/config/configexc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qutebrowser/config/configexc.py b/qutebrowser/config/configexc.py index 57a32b4e5..a5332fe6e 100644 --- a/qutebrowser/config/configexc.py +++ b/qutebrowser/config/configexc.py @@ -20,9 +20,6 @@ """Exceptions related to config parsing.""" -from qutebrowser.utils import jinja - - class Error(Exception): """Base exception for config-related errors.""" @@ -101,6 +98,7 @@ class ConfigFileErrors(Error): self.errors = errors def to_html(self): + from qutebrowser.utils import jinja template = jinja.environment.from_string(""" Errors occurred while reading {{ basename }}: