From d6ca42d7c913f3a853cab1afbaafed919a0ce6b7 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Mon, 13 Mar 2017 17:37:57 -0700 Subject: [PATCH] [infra] flush stdout --- infra/gcb/wait_for_build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/gcb/wait_for_build.py b/infra/gcb/wait_for_build.py index e0934287c..eaac6a699 100755 --- a/infra/gcb/wait_for_build.py +++ b/infra/gcb/wait_for_build.py @@ -38,6 +38,7 @@ def wait_for_build(build_id): current_status = build_info['status'] if current_status != status: print datetime.datetime.now(), current_status + sys.stdout.flush() status = current_status if status == 'SUCCESS' or status == 'FAILURE': return status == 'SUCCESS'