def _ProcessUserListPage(self, apps_domain, max_page, next_page_token=None,
                           query_filter=None):
    """Helper that handles exceptions retrieving pages of users.

    Args:
      apps_domain: Users apps domain e.g. mybiz.com.
      max_page: Used to optimize paging (1-500).
      next_page_token: Used for ongoing paging of users.
      query_filter: Optinally allow filtering based on many fields.
                    Obvious ones include orgName and orgUnitPath.

    Returns:
      List of users retrieved (one page).
    """
    request = self._users.list(domain=apps_domain, maxResults=max_page,
                               pageToken=next_page_token,
                               query=query_filter)
    backoff = http_utils.Backoff()
    while backoff.Loop():
      try:
        users_list = request.execute()
        return users_list
      except apiclient_errors.HttpError as e:
        if http_utils.RETRY_RESPONSE_CODES not in e.resp.status:
          raise admin_api_tool_errors.AdminAPIToolUserError(
              '%s\nPlease check your domain spelling (%s).' % (
                  http_utils.ParseHttpResult(e.uri, e.resp, e.content),
                  apps_domain))
        log_utils.LogInfo(
            'Possible quota problem retrieving users (%d).' % e.resp.status)
        backoff.Fail()
dataset/ETHPy150Open google/gfw-toolkit/toolkit/admin_sdk_directory_api/users_api.py/UsersApiWrapper._ProcessUserListPage/swapped operands of `not in`