Forráskód Böngészése

[auth] Delete unused _run_luci_auth_login method

No hits in git grep

Change-Id: If3f6a8c44f576413e5db129059c3d6fd8c713809
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6367724
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Allen Li <ayatane@chromium.org>
Allen Li 5 hónapja
szülő
commit
0f344dbf8a
1 módosított fájl, 0 hozzáadás és 10 törlés
  1. 0 10
      auth.py

+ 0 - 10
auth.py

@@ -189,16 +189,6 @@ class Authenticator(object):
 
 
     ## Private methods.
     ## Private methods.
 
 
-    def _run_luci_auth_login(self):
-        """Run luci-auth login.
-
-        Returns:
-            AccessToken with credentials.
-        """
-        logging.debug('Running luci-auth login')
-        subprocess2.check_call(['luci-auth', 'login', '-scopes', self._scopes])
-        return self._get_luci_auth_token()
-
     def _get_luci_auth_token(self, use_id_token=False):
     def _get_luci_auth_token(self, use_id_token=False):
         logging.debug('Running luci-auth token')
         logging.debug('Running luci-auth token')
         if use_id_token:
         if use_id_token: