~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/model/distroseriesdifferencejob.py

  • Committer: j.c.sackett
  • Date: 2011-08-31 15:00:45 UTC
  • mfrom: (13834 devel)
  • mto: This revision was merged to the branch mainline in revision 13840.
  • Revision ID: jonathan.sackett@canonical.com-20110831150045-7s7u8upka5yx5c5c
MergedĀ inĀ devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
        SourcePackagePublishingHistory.distroseries == derived_series.id,
113
113
        SourcePackagePublishingHistory.status.is_in(active_publishing_status))
114
114
    nb_jobs = source_package_releases.count()
 
115
 
 
116
    if nb_jobs == 0:
 
117
        return []
 
118
 
115
119
    sourcepackagenames = source_package_releases.values(
116
120
        SourcePackageRelease.sourcepackagenameID)
117
121
    job_ids = Job.createMultiple(store, nb_jobs)