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

Unified Diff: annotated_gclient.py

Issue 78843007: Send build revision as json object. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
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: annotated_gclient.py
diff --git a/annotated_gclient.py b/annotated_gclient.py
index 1ed0f719a7f3bf5e05e82fe8a6ad2f56d8b129af..61e0b5d30ea2c0a0a9750bb9910b727dbf42f1dc 100755
--- a/annotated_gclient.py
+++ b/annotated_gclient.py
@@ -51,7 +51,7 @@ def parse_got_revision(filename, revision_mapping):
def emit_buildprops(got_revisions):
for prop, revision in got_revisions.iteritems():
- print '@@@SET_BUILD_PROPERTY@%s@%s@@@' % (prop, revision)
+ print '@@@SET_BUILD_PROPERTY@%s@%s@@@' % (prop, json.dumps(revision))
def main():
« 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