Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py
index cdbb7599f96bd0db1d9c99b0f9a1875858828a46..e0edd9f3a093140fb62e62536e165d86f90c45ce 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py
@@ -163,6 +163,7 @@ def _move_test_baselines(test_file, extensions_to_move, source_platform, destina
def get_test_baselines(test_file, test_config):
# FIXME: This seems like a hack. This only seems used to access the Port.expected_baselines logic.
class AllPlatformsPort(Port):
+
def __init__(self, host):
super(AllPlatformsPort, self).__init__(host, 'mac')
self._platforms_by_directory = dict([(self._webkit_baseline_path(p), p) for p in test_config.platforms])
@@ -196,6 +197,7 @@ def get_test_baselines(test_file, test_config):
class RebaselineHTTPServer(BaseHTTPServer.HTTPServer):
+
def __init__(self, httpd_port, config):
server_name = ""
BaseHTTPServer.HTTPServer.__init__(self, (server_name, httpd_port), RebaselineHTTPRequestHandler)

Powered by Google App Engine
This is Rietveld 408576698