diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-04-27 18:30:54 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-04-27 20:25:27 +0200 |
commit | 2a343cb3a1818b19b60a3d33cd454555771f52fb (patch) | |
tree | c5eb01f41a2aadbb6367f9c3fec5ee5c02ce5d91 /qutebrowser/keyinput/modeman.py | |
parent | fd20b46b33ad3945ba28e1facb51843507e89670 (diff) | |
download | qutebrowser-2a343cb3a1818b19b60a3d33cd454555771f52fb.tar.gz qutebrowser-2a343cb3a1818b19b60a3d33cd454555771f52fb.zip |
Various code style improvements
Diffstat (limited to 'qutebrowser/keyinput/modeman.py')
-rw-r--r-- | qutebrowser/keyinput/modeman.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/qutebrowser/keyinput/modeman.py b/qutebrowser/keyinput/modeman.py index c5642a207..1cccd3d80 100644 --- a/qutebrowser/keyinput/modeman.py +++ b/qutebrowser/keyinput/modeman.py @@ -175,9 +175,8 @@ class ModeManager(QObject): if handled: filter_this = True - elif (parser.passthrough or - self._forward_unbound_keys == 'all' or - (self._forward_unbound_keys == 'auto' and is_non_alnum)): + elif (parser.passthrough or self._forward_unbound_keys == 'all' or + (self._forward_unbound_keys == 'auto' and is_non_alnum)): filter_this = False else: filter_this = True @@ -191,8 +190,8 @@ class ModeManager(QObject): "passthrough: {}, is_non_alnum: {} --> " "filter: {} (focused: {!r})".format( handled, self._forward_unbound_keys, - parser.passthrough, is_non_alnum, - filter_this, focus_widget)) + parser.passthrough, is_non_alnum, filter_this, + focus_widget)) return filter_this def _eventFilter_keyrelease(self, event): |