From 5f9ee7cc53d28c8ff2d000436bfee195c493ccdf Mon Sep 17 00:00:00 2001 From: Ravi Mistry Date: Thu, 1 Feb 2018 09:31:54 -0500 Subject: [PATCH] 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 Commit-Queue: Ravi Mistry --- infra/bots/android_compile/trigger_wait_ac_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/bots/android_compile/trigger_wait_ac_task.py b/infra/bots/android_compile/trigger_wait_ac_task.py index dcbde3ec9c..4abb67146e 100644 --- a/infra/bots/android_compile/trigger_wait_ac_task.py +++ b/infra/bots/android_compile/trigger_wait_ac_task.py @@ -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):