~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Gavin Panella
  • Date: 2011-04-21 13:04:35 UTC
  • mto: This revision was merged to the branch mainline in revision 12917.
  • Revision ID: gavin.panella@canonical.com-20110421130435-7j4d1unklex1tbnl
Add PackageCopyJob.target_distroseries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    def target_archive(self):
97
97
        return getUtility(IArchiveSet).get(self.target_archive_id)
98
98
 
99
 
    # TODO Add target_distroseries property which just returns
100
 
    # self.distroseries.
 
99
    @property
 
100
    def target_distroseries(self):
 
101
        return self.distroseries
101
102
 
102
103
    @property
103
104
    def target_pocket(self):
131
132
 
132
133
        do_copy(
133
134
            sources=source_packages, archive=self.target_archive,
134
 
            series=self.distroseries, pocket=self.target_pocket,
 
135
            series=self.target_distroseries, pocket=self.target_pocket,
135
136
            include_binaries=self.include_binaries)