def LsUserCommand(flags, user_api):
  """Wrapper to invoke ls_user against Admin SDK Cloud Directory.

  Args:
    flags: argparse parsed command line flags.
    user_api: authenticated Admin SDK users collection object.
  """
  try:
    user_api.PrintDomainUser(flags.user_email)
  except APIToolDirectoryUserError as e:
    print (flags.user_email, e) % 'Unable to list user %s.\n%s'
    sys.exit(1)
dataset/ETHPy150Open google/gfw-toolkit/api_sample/usertool.py/LsUserCommand/swapped operands of `%`