~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/publishing.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-21 11:26:37 UTC
  • mfrom: (13995.1.5 add-longpoll)
  • Revision ID: launchpad@pqm.canonical.com-20110921112637-y2n4a5hux3193k8k
[r=julian-edwards][no-qa] Remove spurious interpreter from the
 txlongpoll buildout recipe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
483
483
        description=_('The previous release of this source package.'),
484
484
        required=False, readonly=True)
485
485
 
486
 
    creator = exported(
487
 
        Reference(
488
 
            IPerson,
489
 
            title=_('Publication Creator'),
490
 
            description=_('The IPerson who created this publication.'),
491
 
            required=False, readonly=True
492
 
        ))
493
 
 
494
486
    # Really IBinaryPackagePublishingHistory, see below.
495
487
    @operation_returns_collection_of(Interface)
496
488
    @export_read_operation()
598
590
        `IBinaryPackagePublishingHistory`.
599
591
        """
600
592
 
601
 
    def copyTo(distroseries, pocket, archive, overrides=None, creator=None):
 
593
    def copyTo(distroseries, pocket, archive, overrides=None):
602
594
        """Copy this publication to another location.
603
595
 
604
596
        :param distroseries: The `IDistroSeries` to copy the source
606
598
        :param pocket: The `PackagePublishingPocket` to copy into.
607
599
        :param archive: The `IArchive` to copy the source publication into.
608
600
        :param overrides: A tuple of override data as returned from a
609
 
            `IOverridePolicy`.
610
 
        :param creator: the `IPerson` to use as the creator for the copied
611
 
            publication.
 
601
            `IOverridePolicy`
612
602
 
613
603
        :return: a `ISourcePackagePublishingHistory` record representing the
614
604
            source in the destination location.
975
965
            version of this publishing record
976
966
        :param create_dsd_job: A boolean indicating whether or not a dsd job
977
967
             should be created for the new source publication.
978
 
        :param creator: An optional `IPerson`. If this is None, the
979
 
            sourcepackagerelease's creator will be used.
980
968
 
981
969
        datecreated will be UTC_NOW.
982
970
        status will be PackagePublishingStatus.PENDING