summaryrefslogtreecommitdiff
path: root/qutebrowser/keyinput/modeparsers.py
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2018-02-27 10:35:19 +0100
committerFlorian Bruhin <git@the-compiler.org>2018-02-27 13:01:41 +0100
commitba012c6ba894e2916ff1cfc5ba756f3f6da445da (patch)
tree06bce31b603850228b996fe9e6f740aca83298f4 /qutebrowser/keyinput/modeparsers.py
parent72e30cc12c21bee189c71aa06baab3436632ebf0 (diff)
downloadqutebrowser-ba012c6ba894e2916ff1cfc5ba756f3f6da445da.tar.gz
qutebrowser-ba012c6ba894e2916ff1cfc5ba756f3f6da445da.zip
Get rid of BaseKeyparser.Type
Diffstat (limited to 'qutebrowser/keyinput/modeparsers.py')
-rw-r--r--qutebrowser/keyinput/modeparsers.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/qutebrowser/keyinput/modeparsers.py b/qutebrowser/keyinput/modeparsers.py
index 0b196c23d..89f8f5ddb 100644
--- a/qutebrowser/keyinput/modeparsers.py
+++ b/qutebrowser/keyinput/modeparsers.py
@@ -232,19 +232,6 @@ class HintKeyParser(keyparser.CommandKeyParser):
return match != QKeySequence.NoMatch
- # FIXME why is this needed?
- # def execute(self, cmdstr, keytype, count=None):
- # """Handle a completed keychain."""
- # if not isinstance(keytype, self.Type):
- # raise TypeError("Type {} is no Type member!".format(keytype))
- # if keytype == self.Type.chain:
- # hintmanager = objreg.get('hintmanager', scope='tab',
- # window=self._win_id, tab='current')
- # hintmanager.handle_partial_key(cmdstr)
- # else:
- # # execute as command
- # super().execute(cmdstr, keytype, count)
-
def update_bindings(self, strings, preserve_filter=False):
"""Update bindings when the hint strings changed.