From e4bcc79247b68ed15f437b16e43a59de1cd3aee6 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Fri, 23 Aug 2019 13:44:21 -0700 Subject: [PATCH] Update builds_status.py --- infra/gcb/builds_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/gcb/builds_status.py b/infra/gcb/builds_status.py index da6c1ddf7..5352d36f5 100755 --- a/infra/gcb/builds_status.py +++ b/infra/gcb/builds_status.py @@ -29,8 +29,8 @@ _client = None def _get_storage_client(): """Return storage client.""" + global _client if not _client: - global _client _client = storage.Client() return _client