This commit is contained in:
Florian Bruhin 2014-05-05 10:09:19 +02:00
parent 9cf713cbe4
commit 85c4bb823f
2 changed files with 1 additions and 2 deletions

View File

@ -90,7 +90,6 @@ def shell_escape(s):
[1] https://en.wikibooks.org/wiki/Windows_Batch_Scripting#How_a_command_line_is_interpreted [1] https://en.wikibooks.org/wiki/Windows_Batch_Scripting#How_a_command_line_is_interpreted
""" """
try: try:
return shlex.quote(s) return shlex.quote(s)
except AttributeError: except AttributeError:

View File

@ -327,7 +327,7 @@ class TabbedBrowser(TabWidget):
@cmdutils.register(instance='mainwindow.tabs') @cmdutils.register(instance='mainwindow.tabs')
def focus_tab(self, idx=None, count=None): 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: Args:
idx: The tab index to focus, starting with 1. idx: The tab index to focus, starting with 1.