def __next__(self):
        """Implements the next() method for the iterator.

        Returns the next ObjectInfo instance. Loads more if at the end of the page and
        there's more pages to load.

        """
        self._log.debug(
            "%d / %d (%d)"
            % (self._citem, self._maxitem, len(self._object_list.objectInfo))
        )
        if self._citem >= self._maxitem:
            raise StopIteration
        if (self._pageoffs) >= len(self._object_list.objectInfo):
            self._loadMore(start=self._czero + len(self._object_list.objectInfo))
            if len(self._object_list.objectInfo) < 1:
                raise StopIteration
        res = self._object_list.objectInfo[self._pageoffs]
        self._citem += 1
        self._pageoffs += 1
        return res
def __next__ ( self ) : self . _log . debug ( "%d / %d (%d)" % ( self . _citem , self . _maxitem , len ( self . _object_list . objectInfo ) ) ) if self . _citem >= self . _maxitem : raise StopIteration if ( self . _pageoffs ) >= len ( self . _object_list . objectInfo ) : self . _loadMore ( start = self . _czero + len ( self . _object_list . objectInfo ) ) if len ( self . _object_list . objectInfo ) < 1 : raise StopIteration res = self . _object_list . objectInfo [ self . _pageoffs ] self . _citem += 1 self . _pageoffs += 1 return res
Implements the next() method for the iterator.

        Returns the next ObjectInfo instance. Loads more if at the end of the page and
        there's more pages to load.