~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/interfaces/distroseriesparent.py

First part of initializing from multiple parents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        title=_("The component for this overlay"), required=False,
57
57
        vocabulary='Component')
58
58
 
 
59
    ordering = Int(
 
60
            title=_("Parent ordering"), required=False,
 
61
            default=1,
 
62
            description=_(
 
63
                "The parent ordering. Parents are ordered in "
 
64
                "ascending order starting from 1."))
 
65
 
59
66
 
60
67
class IDistroSeriesParentSet(Interface):
61
68
    """`DistroSeriesParentSet` interface."""
62
69
 
63
70
    def new(derived_series, parent_series, initialized, is_overlay=False,
64
 
            pocket=None, component=None):
 
71
            pocket=None, component=None, ordering=1):
65
72
        """Create a new `DistroSeriesParent`."""
66
73
 
67
74
    def getByDerivedSeries(derived_series):