From 22ac19b15107969797be52418ca0054248797d4c Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 6 Sep 2016 20:33:48 +0200 Subject: [PATCH] style fixes --- qutebrowser/commands/userscripts.py | 3 --- tests/end2end/data/userscripts/open_current_url.bat | 2 +- tests/end2end/features/spawn.feature | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/qutebrowser/commands/userscripts.py b/qutebrowser/commands/userscripts.py index 65af02609..a8d741f6c 100644 --- a/qutebrowser/commands/userscripts.py +++ b/qutebrowser/commands/userscripts.py @@ -282,9 +282,6 @@ class _WindowsUserscriptRunner(_BaseUserscriptRunner): (overwrite) to write to the file! """ - def __init__(self, win_id, parent=None): - super().__init__(win_id, parent) - def _cleanup(self): """Clean up temporary files after the userscript finished.""" if self._cleaned_up: diff --git a/tests/end2end/data/userscripts/open_current_url.bat b/tests/end2end/data/userscripts/open_current_url.bat index 60d72d594..e57eb2567 100644 --- a/tests/end2end/data/userscripts/open_current_url.bat +++ b/tests/end2end/data/userscripts/open_current_url.bat @@ -1 +1 @@ -echo open -t %QUTE_URL% >> "%QUTE_FIFO%" \ No newline at end of file +echo open -t %QUTE_URL% >> "%QUTE_FIFO%" diff --git a/tests/end2end/features/spawn.feature b/tests/end2end/features/spawn.feature index 76ef5620a..e2d3fe3c2 100644 --- a/tests/end2end/features/spawn.feature +++ b/tests/end2end/features/spawn.feature @@ -40,6 +40,7 @@ Feature: :spawn Then the following tabs should be open: - about:blank - about:blank (active) + @windows Scenario: Running :spawn with userscript on Windows When I open about:blank