~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

Merged init-multiple-parents-backend into init-multiple-parents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2005
2005
            child, [self], architectures, packagesets, rebuild)
2006
2006
 
2007
2007
    def initDerivedDistroSeries(self, user, parents, architectures=(),
2008
 
                                packagesets=(), rebuild=False):
 
2008
                                packagesets=(), rebuild=False, overlays=[],
 
2009
                                overlay_pockets=[],
 
2010
                                overlay_components=[]):
2009
2011
        """See `IDistroSeries`."""
2010
2012
        if self.is_derived_series:
2011
2013
            raise DerivationError(
2016
2018
        except InitialisationError, e:
2017
2019
            raise DerivationError(e)
2018
2020
        getUtility(IInitialiseDistroSeriesJobSource).create(
2019
 
            self, parents, architectures, packagesets, rebuild)
 
2021
            self, parents, architectures, packagesets, rebuild, overlays,
 
2022
            overlay_pockets, overlay_components)
2020
2023
 
2021
2024
    def getParentSeries(self):
2022
2025
        """See `IDistroSeriesPublic`."""