From d145b304d06995e23b0796c40caa8910bae42e12 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Sat, 18 Nov 2017 20:41:23 -0500 Subject: [PATCH] Remove maxsplit from edit_command. This was a copy-paste typo, no need for maxsplit as this command takes no positional args. --- qutebrowser/mainwindow/statusbar/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py index 2d45ccb22..a61f3c93d 100644 --- a/qutebrowser/mainwindow/statusbar/command.py +++ b/qutebrowser/mainwindow/statusbar/command.py @@ -166,7 +166,7 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit): modeman.leave(self._win_id, usertypes.KeyMode.command, 'cmd accept') self.got_cmd[str].emit(prefixes[text[0]] + text[1:]) - @cmdutils.register(instance='status-command', scope='window', maxsplit=0) + @cmdutils.register(instance='status-command', scope='window') def edit_command(self, run=False): """Open an editor to modify the current command.