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

Unified Diff: third_party/WebKit/Tools/Scripts/print-json-test-results

Issue 2014063002: Run format-webkit on webkitpy code (without string conversion). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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/print-json-test-results
diff --git a/third_party/WebKit/Tools/Scripts/print-json-test-results b/third_party/WebKit/Tools/Scripts/print-json-test-results
index e6d07606b074cb1563ba342939ce1a07cb754b7e..3bbd672999920dde52616087f42c88e8d997c7d9 100755
--- a/third_party/WebKit/Tools/Scripts/print-json-test-results
+++ b/third_party/WebKit/Tools/Scripts/print-json-test-results
@@ -35,7 +35,11 @@ def main(argv):
print >> sys.stderr, "file not found: %s" % args[0]
sys.exit(1)
else:
- txt = host.filesystem.read_text_file(host.filesystem.join(host.port_factory.get(options=options).results_directory(), 'full_results.json'))
+ txt = host.filesystem.read_text_file(
+ host.filesystem.join(
+ host.port_factory.get(
+ options=options).results_directory(),
+ 'full_results.json'))
if txt.startswith('ADD_RESULTS(') and txt.endswith(');'):
txt = txt[12:-2] # ignore optional JSONP wrapper
@@ -112,5 +116,5 @@ def convert_trie_to_flat_paths(trie, prefix=None):
return result
-if __name__ == '__main__':
+if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))

Powered by Google App Engine
This is Rietveld 408576698