Fixes to trigger_wait_ac_task.py

Turns out I made the exact same mistake 2.5 years ago:
https://codereview.chromium.org/1373863002/

NoTry: true
Bug: skia:7469
Change-Id: Id21150db072f2e9cb8e4e4b8462cac1a085a5193
Reviewed-on: https://skia-review.googlesource.com/102481
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
This commit is contained in:
Ravi Mistry 2018-02-01 09:31:54 -05:00 committed by Skia Commit-Bot
parent 16aa82a974
commit 5f9ee7cc53

View File

@ -47,7 +47,7 @@ def _GetWebhookSaltFromMetadata():
raise AndroidCompileException(
'Return code from %s was %s' % (GCE_WEBHOOK_SALT_METADATA_URI,
resp.status_code))
return resp.text
return base64.standard_b64decode(resp.text)
def _GetAuthHeaders(data, options):