Fix lint
This commit is contained in:
parent
f5a4d3a184
commit
85f8366028
@ -83,7 +83,7 @@ def leave(mode, reason=None):
|
|||||||
def maybe_enter(mode, reason=None, override=False):
|
def maybe_enter(mode, reason=None, override=False):
|
||||||
"""Convenience method to enter 'mode' without exceptions."""
|
"""Convenience method to enter 'mode' without exceptions."""
|
||||||
try:
|
try:
|
||||||
objreg.get('mode-manager').enter(mode, reason, override=False)
|
objreg.get('mode-manager').enter(mode, reason, override)
|
||||||
except ModeLockedError:
|
except ModeLockedError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
"""Prompt shown in the statusbar."""
|
"""Prompt shown in the statusbar."""
|
||||||
|
|
||||||
from PyQt5.QtCore import pyqtSignal
|
|
||||||
from PyQt5.QtWidgets import QHBoxLayout, QWidget, QLineEdit
|
from PyQt5.QtWidgets import QHBoxLayout, QWidget, QLineEdit
|
||||||
|
|
||||||
from qutebrowser.widgets import misc
|
from qutebrowser.widgets import misc
|
||||||
|
Loading…
Reference in New Issue
Block a user