Commit 2b2b3708 authored by stip@chromium.org's avatar stip@chromium.org

Send build revision as json object.

Will cause buildbot exceptions otherwise.

TBR=maruel@chromium.org

Review URL: https://codereview.chromium.org/78843007

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@236437 0039d316-1c4b-4281-b951-d872f2087c98
parent a3d7c4b3
......@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment