~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/distroseries.py

First part of initializing from multiple parents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1979
1979
        from lp.registry.interfaces.distroseriesparent import (
1980
1980
            IDistroSeriesParentSet,
1981
1981
            )
1982
 
        dsps = getUtility(IDistroSeriesParentSet).getByDerivedSeries(self)
 
1982
        dsp_set = getUtility(IDistroSeriesParentSet)
 
1983
        dsps = dsp_set.getByDerivedSeries(self).order_by('ordering')
1983
1984
        return [dsp.parent_series for dsp in dsps]
1984
1985
 
1985
1986
    def getDerivedSeries(self):