tools/perf/core/services/luci_auth.py
def GetUserEmail():
  """Get the email address of the currently logged in user."""
  output = _RunCommand('info')
  m = re.match(_RE_INFO_USER_EMAIL, output, re.MULTILINE)
  assert m, 'Failed to parse luci-auth info output.'
  return m.group('email')
Get the email address of the currently logged in user.
Get the email address of the currently logged in user.
Get the email address of the currently logged in user .
def GetUserEmail():
  output = _RunCommand('info')
  m = re.match(_RE_INFO_USER_EMAIL, output, re.MULTILINE)
  assert m, 'Failed to parse luci-auth info output.'
  return m.group('email')
def GetUserEmail ( ) : output = _RunCommand ( 'info' ) m = re . match ( _RE_INFO_USER_EMAIL , output , re . MULTILINE ) assert m , 'Failed to parse luci-auth info output.' return m . group ( 'email' )
Get the email address of the currently logged in user.
Get the email address of the currently logged in user .
"""Get the email address of the currently logged in user."""