浏览代码

[auth] Fix typo introduced in https://crrev.com/c/1018488/13/auth.py#514

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>
Andrii Shyshkalov 7 年之前
父节点
当前提交
94580ab035
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      auth.py
  2. 1 1
      recipes/trigger_recipe_roller.txt

+ 1 - 1
auth.py

@@ -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.

+ 1 - 1
recipes/trigger_recipe_roller.txt

@@ -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
 
 
-😒😒
+😒