def next(self):
        try:
            return self.results.pop(0)
        except IndexError:
            if self.next_uri is None:
                raise StopIteration()
            else:
                if not self.next_uri:
                    if self.domain:
                        self.results = self.list_method(self.domain)
                    else:
                        self.results = self.list_method()
                else:
                    args = self.extra_args
                    self.results = self._list_method(self.next_uri, *args)
                self.next_uri = self.manager._paging.get(
                        self.paging_service, {}).get("next_uri")
        # We should have more results.
        try:
            return self.results.pop(0)
        except IndexError:
            raise StopIteration()
Environment changelist page loads without error, contains name.
dataset/ETHPy150Open rackspace/pyrax/pyrax/clouddns.py/ResultsIterator.next--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/model/environments/admin/test_environment.py/EnvironmentAdminTest.test_changelist