perceval/backends/core/gerrit.py
def fetch_items(self, category, **kwargs):
        """Fetch the reviews

        :param category: the category of items to fetch
        :param kwargs: backend arguments

        :returns: a generator of items
        """
        from_date = kwargs['from_date']

        if self.client.version[0] == 2 and self.client.version[1] == 8:
            fetcher = self._fetch_gerrit28(from_date)
        else:
            fetcher = self._fetch_gerrit(from_date)

        for review in fetcher:
            yield review
def fetch_items(self, category, **kwargs):
        from_date = kwargs['from_date']

        if self.client.version[0] == 2 and self.client.version[1] == 8:
            fetcher = self._fetch_gerrit28(from_date)
        else:
            fetcher = self._fetch_gerrit(from_date)

        for review in fetcher:
            yield review
def fetch_items ( self , category , * * kwargs ) : from_date = kwargs [ 'from_date' ] if self . client . version [ 0 ] == 2 and self . client . version [ 1 ] == 8 : fetcher = self . _fetch_gerrit28 ( from_date ) else : fetcher = self . _fetch_gerrit ( from_date ) for review in fetcher : yield review
Fetch the reviews

        :param category: the category of items to fetch
        :param kwargs: backend arguments

        :returns: a generator of items
Fetch the reviews