From 08fdfebb503af83d527ba89bc44c3e5cdafc154f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 6 Oct 2014 22:15:26 +0200 Subject: [PATCH] Fix import of urlutils for url_invalid_error. --- qutebrowser/browser/downloads.py | 2 +- qutebrowser/browser/quickmarks.py | 2 +- qutebrowser/widgets/tabbedbrowser.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/qutebrowser/browser/downloads.py b/qutebrowser/browser/downloads.py index 12f37b775..bda4c2968 100644 --- a/qutebrowser/browser/downloads.py +++ b/qutebrowser/browser/downloads.py @@ -31,7 +31,7 @@ from PyQt5.QtWebKitWidgets import QWebPage # pylint: disable=unused-import from qutebrowser.config import config from qutebrowser.commands import cmdexc, cmdutils -from qutebrowser.utils import (message, http, usertypes, log, utils, qtutils, +from qutebrowser.utils import (message, http, usertypes, log, utils, urlutils, objreg) diff --git a/qutebrowser/browser/quickmarks.py b/qutebrowser/browser/quickmarks.py index 266c3ea47..17e55e098 100644 --- a/qutebrowser/browser/quickmarks.py +++ b/qutebrowser/browser/quickmarks.py @@ -29,7 +29,7 @@ import collections from PyQt5.QtCore import QStandardPaths, QUrl -from qutebrowser.utils import message, usertypes, utils, qtutils +from qutebrowser.utils import message, usertypes, utils, urlutils from qutebrowser.commands import cmdexc, cmdutils from qutebrowser.config import lineparser diff --git a/qutebrowser/widgets/tabbedbrowser.py b/qutebrowser/widgets/tabbedbrowser.py index 4d6ddafcd..6bfbf2b78 100644 --- a/qutebrowser/widgets/tabbedbrowser.py +++ b/qutebrowser/widgets/tabbedbrowser.py @@ -32,7 +32,8 @@ from qutebrowser.commands import cmdexc from qutebrowser.keyinput import modeman from qutebrowser.widgets import tabwidget, webview from qutebrowser.browser import signalfilter, commands -from qutebrowser.utils import log, message, usertypes, utils, qtutils, objreg +from qutebrowser.utils import (log, message, usertypes, utils, qtutils, objreg, + urlutils) UndoEntry = collections.namedtuple('UndoEntry', ['url', 'history'])