~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-23 06:49:43 UTC
  • mfrom: (13277.2.2 bug-799680)
  • Revision ID: launchpad@pqm.canonical.com-20110623064943-cuquwlhnwoa0xhj4
[r=julian-edwards][bug=799680] Show architecture for copy-job uploads
        as "sync."

Show diffs side-by-side

added added

removed removed

Lines of Context:
662
662
    def displayarchs(self):
663
663
        """See `IPackageUpload`"""
664
664
        archs = []
665
 
        if self.contains_source or self.package_copy_job_id is not None:
 
665
        if self.package_copy_job_id is not None:
 
666
            archs.append('sync')
 
667
        if self.contains_source:
666
668
            archs.append('source')
667
669
        for queue_build in self.builds:
668
670
            archs.append(queue_build.build.distro_arch_series.architecturetag)