From d952887d768fc56326ed9711d670b725159bf2b3 Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Tue, 7 Nov 2017 09:17:23 +0300 Subject: [PATCH] Updating upload script to work with the latest version of oauth2client library --- third_party/py/googlestorage/publish_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/py/googlestorage/publish_release.py b/third_party/py/googlestorage/publish_release.py index 9801257fef1a6..d7532029edc08 100644 --- a/third_party/py/googlestorage/publish_release.py +++ b/third_party/py/googlestorage/publish_release.py @@ -151,7 +151,7 @@ def _authenticate(secrets_file): storage = oauthfile.Storage(OAUTH_CREDENTIALS_FILE) credentials = storage.get() if credentials is None or credentials.invalid: - credentials = oauthtools.run(flow, storage) + credentials = oauthtools.run_flow(flow, storage, oauthtools.argparser.parse_args(args=[])) http = httplib2.Http() return credentials.authorize(http)