From 120f02b06d3369878f82333cc87b6c3e40c71769 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Mon, 13 Mar 2017 17:12:20 -0700 Subject: [PATCH] [infra] no debug print --- infra/gcb/wait_for_build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infra/gcb/wait_for_build.py b/infra/gcb/wait_for_build.py index 70959e250..e0934287c 100755 --- a/infra/gcb/wait_for_build.py +++ b/infra/gcb/wait_for_build.py @@ -34,6 +34,7 @@ def wait_for_build(build_id): status = None while True: build_info = get_build(build_id, cloudbuild) + current_status = build_info['status'] if current_status != status: print datetime.datetime.now(), current_status @@ -41,8 +42,6 @@ def wait_for_build(build_id): if status == 'SUCCESS' or status == 'FAILURE': return status == 'SUCCESS' - print build_info['logUrl'] - time.sleep(POLL_INTERVAL)