~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=julian-edwards][bug=819359] IArchive.copyPackages() now copies
        PENDING publications as well as PUBLISHED ones.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1635
1635
            # publication.
1636
1636
            published_sources = from_archive.getPublishedSources(
1637
1637
                name=name, exact_match=True,
1638
 
                status=PackagePublishingStatus.PUBLISHED)
 
1638
                status=(PackagePublishingStatus.PUBLISHED,
 
1639
                        PackagePublishingStatus.PENDING))
1639
1640
            first_source = published_sources.first()
1640
1641
            if first_source is not None:
1641
1642
                sources.append(first_source)