From 85c4bb823ffb901d0a5ec307f0bb6ad1fb8dc506 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 5 May 2014 10:09:19 +0200 Subject: [PATCH] Fix lint --- qutebrowser/utils/misc.py | 1 - qutebrowser/widgets/_tabbedbrowser.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qutebrowser/utils/misc.py b/qutebrowser/utils/misc.py index 7975df56a..b71ab041b 100644 --- a/qutebrowser/utils/misc.py +++ b/qutebrowser/utils/misc.py @@ -90,7 +90,6 @@ def shell_escape(s): [1] https://en.wikibooks.org/wiki/Windows_Batch_Scripting#How_a_command_line_is_interpreted """ - try: return shlex.quote(s) except AttributeError: diff --git a/qutebrowser/widgets/_tabbedbrowser.py b/qutebrowser/widgets/_tabbedbrowser.py index b797c3328..6c9ab7cf4 100644 --- a/qutebrowser/widgets/_tabbedbrowser.py +++ b/qutebrowser/widgets/_tabbedbrowser.py @@ -327,7 +327,7 @@ class TabbedBrowser(TabWidget): @cmdutils.register(instance='mainwindow.tabs') def focus_tab(self, idx=None, count=None): - """Focus the tab given as argument or in count. + """Select the tab given as argument or in count. Args: idx: The tab index to focus, starting with 1.