~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/distributionjob.py

  • Committer: Raphael Badin
  • Date: 2011-07-27 10:34:53 UTC
  • mto: This revision was merged to the branch mainline in revision 13552.
  • Revision ID: raphael.badin@canonical.com-20110727103453-3v25z6xwpsshojx5
Remove optionnal parent_series parameter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
class IDistroSeriesDifferenceJobSource(IJobSource):
122
122
    """An `IJob` for creating `DistroSeriesDifference`s."""
123
123
 
124
 
    def createForPackagePublication(derivedseries, sourcepackagename, pocket,
125
 
                                    parent_series=None):
 
124
    def createForPackagePublication(derivedseries, sourcepackagename, pocket):
126
125
        """Create jobs as appropriate for a given status publication.
127
126
 
128
127
        :param derived_series: A `DistroSeries` that is assumed to be
130
129
        :param sourcepackagename: A `SourcePackageName` that is being
131
130
            published in `derived_series` or `parent_series`.
132
131
        :param pocket: The `PackagePublishingPocket` for the publication.
133
 
        :param parent_series: The parent `DistroSeries` whose version of
134
 
            `sourcepackagename` is to be compared with that in
135
 
            `derived_series` or all the parent series if None.
136
132
        :return: An iterable of `DistroSeriesDifferenceJob`.
137
133
        """
138
134
 
139
 
    def massCreateForSeries(derived_series, parent_series=None):
 
135
    def massCreateForSeries(derived_series):
140
136
        """Create jobs for all the publications inside the given distroseries
141
137
            with reference to the given parent series.
142
138
 
143
139
        :param derived_series: A `DistroSeries` that is assumed to be
144
140
            derived from `parent_series`.
145
 
        :param parent_series: The parent `DistroSeries` whose version of
146
 
            `sourcepackagename` is to be compared with that in
147
 
            `derived_series` or all the parent series if None.
148
 
 
149
141
        :return: An iterable of `DistroSeriesDifferenceJob` ids. We don't
150
142
            return the Job themselves for performance reason.
151
143
        """