Allura/allura/model/repository.py
def climb_commit_tree(self, predicate=None):
        '''
        Returns a generator that walks up the commit tree along
        the first-parent ancestory, starting with this commit,
        optionally filtering by a predicate.'''
        ancestor = self
        while ancestor:
            if predicate is None or predicate(ancestor):
                yield ancestor
            ancestor = ancestor.get_parent()

        Returns a generator that walks up the commit tree along
        the first-parent ancestory, starting with this commit,
        optionally filtering by a predicate.
Returns a generator that walks up the commit tree along
the first-parent ancestory, starting with this commit,
optionally filtering by a predicate.
Returns a generator that walks up the commit tree along the first - parent ancestory starting with this commit optionally filtering by a predicate .
def climb_commit_tree(self, predicate=None):
        ancestor = self
        while ancestor:
            if predicate is None or predicate(ancestor):
                yield ancestor
            ancestor = ancestor.get_parent()
def climb_commit_tree ( self , predicate = None ) : ancestor = self while ancestor : if predicate is None or predicate ( ancestor ) : yield ancestor ancestor = ancestor . get_parent ( )
Returns a generator that walks up the commit tree along
the first-parent ancestory, starting with this commit,
optionally filtering by a predicate.
Returns a generator that walks up the commit tree along the first - parent ancestory starting with this commit optionally filtering by a predicate .
'''
        Returns a generator that walks up the commit tree along
        the first-parent ancestory, starting with this commit,
        optionally filtering by a predicate.'''
self
predicate