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

Unified Diff: tools/checkdeps/results.py

Issue 75793003: Make checkdeps.py correctly signal failure when using --json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/checkdeps/results.py
diff --git a/tools/checkdeps/results.py b/tools/checkdeps/results.py
index f8b13f89f02370891d5db1d98ebfec1ba34f0b4d..b52880ccca3259408aa699ee8a05292105779bae 100644
--- a/tools/checkdeps/results.py
+++ b/tools/checkdeps/results.py
@@ -126,6 +126,7 @@ class JSONResultsFormatter(ResultsFormatter):
with open(self.output_path, 'w') as f:
f.write(json.dumps(self.results))
+ return self.results
def PrintResults(self):
if self.wrapped_formatter:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698