Index: third_party/gsutil/plugins/sso_auth.py |
diff --git a/third_party/gsutil/plugins/sso_auth.py b/third_party/gsutil/plugins/sso_auth.py |
index 71f0cc9c218bf26eb93fd010569350e924da65a0..cf956b89f57e0caafc906c3b077ded91afdf5270 100644 |
--- a/third_party/gsutil/plugins/sso_auth.py |
+++ b/third_party/gsutil/plugins/sso_auth.py |
@@ -45,7 +45,7 @@ class SSOAuth(AuthHandler): |
def __init__(self, path, config, provider): |
if provider.name == 'google' and self.has_prodaccess(): |
# If we don't have a loas token, then bypass this auth handler. |
- if subprocess.call('loas_check', |
+ if subprocess.call(['loas_check', '-loas_check_retry_attempts=0'], |
stdout=subprocess.PIPE, |
stderr=subprocess.PIPE): |
raise NotReadyToAuthenticate() |