diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-05-22 22:25:40 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-05-22 22:25:40 +0200 |
commit | 399ff092dc3880ebc56b80cd6d8dcdd00ff341a5 (patch) | |
tree | a0e49538cb368531cc88f684eb8417f6a7dbf7c6 | |
parent | c7e20386b5b0a6c85768ea08d8ebc750c0f122ad (diff) | |
download | qutebrowser-399ff092dc3880ebc56b80cd6d8dcdd00ff341a5.tar.gz qutebrowser-399ff092dc3880ebc56b80cd6d8dcdd00ff341a5.zip |
Fix lint
-rw-r--r-- | qutebrowser/browser/commands.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 9f328c768..f115501d3 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -453,7 +453,7 @@ class CommandDispatcher: @cmdutils.argument('win_id', completion=miscmodels.window) @cmdutils.argument('count', value=cmdutils.Value.count) def tab_give(self, win_id: int = None, keep: bool = False, - count: int = None, private: bool = False) -> None: + count: int = None, private: bool = False) -> None: """Give the current tab to a new or existing window if win_id given. If no win_id is given, the tab will get detached into a new window. @@ -490,7 +490,8 @@ class CommandDispatcher: window=win_id) if private and not tabbed_browser.is_private: - raise cmdutils.CommandError("The window with id {} is not private".format(win_id)) + raise cmdutils.CommandError( + "The window with id {} is not private".format(win_id)) tabbed_browser.tabopen(self._current_url()) if not keep: |