From 85f8366028a3092e99ea2ee2565d08d7f8102ec5 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 30 Sep 2014 07:49:01 +0200 Subject: [PATCH] Fix lint --- qutebrowser/keyinput/modeman.py | 2 +- qutebrowser/widgets/statusbar/prompt.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qutebrowser/keyinput/modeman.py b/qutebrowser/keyinput/modeman.py index bb4a7730a..d2fb44caf 100644 --- a/qutebrowser/keyinput/modeman.py +++ b/qutebrowser/keyinput/modeman.py @@ -83,7 +83,7 @@ def leave(mode, reason=None): def maybe_enter(mode, reason=None, override=False): """Convenience method to enter 'mode' without exceptions.""" try: - objreg.get('mode-manager').enter(mode, reason, override=False) + objreg.get('mode-manager').enter(mode, reason, override) except ModeLockedError: pass diff --git a/qutebrowser/widgets/statusbar/prompt.py b/qutebrowser/widgets/statusbar/prompt.py index c354f29cc..763369463 100644 --- a/qutebrowser/widgets/statusbar/prompt.py +++ b/qutebrowser/widgets/statusbar/prompt.py @@ -19,7 +19,6 @@ """Prompt shown in the statusbar.""" -from PyQt5.QtCore import pyqtSignal from PyQt5.QtWidgets import QHBoxLayout, QWidget, QLineEdit from qutebrowser.widgets import misc