From 9678fd1e09334fac726e02a0bc5dbad767356144 Mon Sep 17 00:00:00 2001 From: Jan Verbeek Date: Fri, 1 Jul 2016 19:17:50 +0200 Subject: [PATCH] Make argument description more clear + style fix --- qutebrowser/misc/utilcmds.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qutebrowser/misc/utilcmds.py b/qutebrowser/misc/utilcmds.py index 2e4ad21bf..948f1ca0e 100644 --- a/qutebrowser/misc/utilcmds.py +++ b/qutebrowser/misc/utilcmds.py @@ -226,10 +226,9 @@ def repeat_command(win_id, count=None): """Repeat the last executed command, like '.' in vi. Args: - count: Which numeric argument to give the command. + count: Which count to pass the command. """ - mode_manager = objreg.get('mode-manager', scope='window', - window=win_id) + mode_manager = objreg.get('mode-manager', scope='window', window=win_id) if mode_manager.mode not in runners.last_command: raise cmdexc.CommandError("You didn't do anything yet.") cmd = runners.last_command[mode_manager.mode]