Skip to content

Commit d952887

Browse files
committed
Updating upload script to work with the latest version of oauth2client library
1 parent 8dd34cf commit d952887

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

third_party/py/googlestorage/publish_release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _authenticate(secrets_file):
151151
storage = oauthfile.Storage(OAUTH_CREDENTIALS_FILE)
152152
credentials = storage.get()
153153
if credentials is None or credentials.invalid:
154-
credentials = oauthtools.run(flow, storage)
154+
credentials = oauthtools.run_flow(flow, storage, oauthtools.argparser.parse_args(args=[]))
155155
http = httplib2.Http()
156156
return credentials.authorize(http)
157157

0 commit comments

Comments
 (0)