From 90f1d5851c3bacec70576f7c2184c9633e71ef3e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 3 Aug 2014 00:58:59 +0200 Subject: [PATCH] Fix lint. --- qutebrowser/browser/commands.py | 1 - qutebrowser/browser/hints.py | 1 - 2 files changed, 2 deletions(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 617ccaed7..03ced33e2 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -291,7 +291,6 @@ class CommandDispatcher: *args: Arguments for spawn/userscript/fill. - - With `spawn`: The executable and arguments to spawn. `{hint-url}` will get replaced by the selected URL. diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 2277dd6e3..4a9e448b9 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -347,7 +347,6 @@ class HintManager(QObject): url: The URL to open as a QUrl. """ qt_ensure_valid(url) - command = self._context.args[0] urlstr = url.toDisplayString(QUrl.FullyEncoded) args = self._context.get_args(urlstr) message.set_cmd_text(' '.join(args))