193
193
def dominatePackage(self, publications, live_versions, generalization):
194
194
"""Dominate publications for a single package.
196
206
:param publications: Iterable of publications for the same package,
197
207
in the same archive, series, and pocket, all with status
198
208
`PackagePublishingStatus.PUBLISHED`.
199
209
:param live_versions: Iterable of version strings that are still
200
210
considered live for this package. The given publications will
201
211
remain active insofar as they represent any of these versions;
203
214
:param generalization: A `GeneralizedPublication` helper representing
204
215
the kind of publications these are--source or binary.