diff options
author | gkanwar@chromium.org <gkanwar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-23 05:27:08 +0000 |
---|---|---|
committer | gkanwar@chromium.org <gkanwar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-23 05:27:08 +0000 |
commit | e6a5eee71f7ef91be9580ef499fc221e9facda03 (patch) | |
tree | b54463a9bf65c3d15d1a8ed12be71528fa82cd04 /build | |
parent | ba36957a0300c275a469d885ae923035e9b86b56 (diff) | |
download | chromium_src-e6a5eee71f7ef91be9580ef499fc221e9facda03.zip chromium_src-e6a5eee71f7ef91be9580ef499fc221e9facda03.tar.gz chromium_src-e6a5eee71f7ef91be9580ef499fc221e9facda03.tar.bz2 |
[Android] Fixes getting the revision from build_properties
NOTRY=True
BUG=255644
Review URL: https://chromiumcodereview.appspot.com/23361017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219223 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/android/buildbot/bb_device_steps.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py index 92a3e1b..2cb431e 100755 --- a/build/android/buildbot/bb_device_steps.py +++ b/build/android/buildbot/bb_device_steps.py @@ -314,7 +314,9 @@ def UploadCoverageData(options, path, coverage_type): Returns: None. """ - revision = options.build_properties.get('got_revision', 'testing') + revision = options.build_properties.get('got_revision') + if not revision: + revision = options.build_properties.get('revision', 'testing') bot_id = options.build_properties.get('buildername', 'testing') randhash = hashlib.sha1(str(random.random())).hexdigest() gs_path = '%s/%s/%s/%s/%s' % (options.coverage_bucket, coverage_type, |