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.