Skip to content

Commit

Permalink
Updating upload script to work with the latest version of oauth2clien…
Browse files Browse the repository at this point in the history
…t library
  • Loading branch information
barancev committed Nov 7, 2017
1 parent 8dd34cf commit d952887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/py/googlestorage/publish_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d952887

Please sign in to comment.