TBR=vadimsh@google.com

Change-Id: I96c4039d12ba3570d828b24009a2446fba44c14d
Reviewed-on: https://chromium-review.googlesource.com/1020539
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
changes/39/1020539/3
Andrii Shyshkalov 7 years ago committed by Commit Bot
parent 067ef5d894
commit 94580ab035

@ -522,7 +522,7 @@ class Authenticator(object):
self._access_token = self._load_access_token() self._access_token = self._load_access_token()
# Refresh if expired or missing. # Refresh if expired or missing.
if not self._access_token or self._access_toke.needs_refresh(): if not self._access_token or self._access_token.needs_refresh():
# Maybe some other process already updated it, reload from the cache. # Maybe some other process already updated it, reload from the cache.
self._access_token = self._load_access_token() self._access_token = self._load_access_token()
# Nope, still expired, need to run the refresh flow. # Nope, still expired, need to run the refresh flow.

@ -7,4 +7,4 @@ the Build and Test Yeti.
Then suddenly, and without delay, Batty the Build and Test Yeti Then suddenly, and without delay, Batty the Build and Test Yeti
😒😒 😒

Loading…
Cancel
Save