tools/perf/core/services/luci_auth.py
def CheckLoggedIn():
  """Check that the user is currently logged in.

  Otherwise sys.exit immediately with the error message from luci-auth
  instructing the user how to log in.
  """
  try:
    GetAccessToken()
  except AuthorizationError as exc:
    sys.exit(str(exc))
Check that the user is currently logged in.

  Otherwise sys.exit immediately with the error message from luci-auth
  instructing the user how to log in.
  
Check that the user is currently logged in.
Otherwise sys.exit immediately with the error message from luci-auth
instructing the user how to log in.
Check that the user is currently logged in . Otherwise sys . exit immediately with the error message from luci - auth instructing the user how to log in .
def CheckLoggedIn():
  try:
    GetAccessToken()
  except AuthorizationError as exc:
    sys.exit(str(exc))
def CheckLoggedIn ( ) : try : GetAccessToken ( ) except AuthorizationError as exc : sys . exit ( str ( exc ) )
Check that the user is currently logged in.
Check that the user is currently logged in .
"""Check that the user is currently logged in.

  Otherwise sys.exit immediately with the error message from luci-auth
  instructing the user how to log in.
  """