~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-05-24 11:48:32 UTC
  • mfrom: (13045.15.17 copies-use-overrides)
  • Revision ID: launchpad@pqm.canonical.com-20110524114832-oya6nkj2qd820p4w
[r=julian-edwards,
        wgrant][bug=783249] Add support for generic overrides to the package
        copier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    QueueStateWriteProtectedError,
85
85
    )
86
86
from lp.soyuz.pas import BuildDaemonPackagesArchSpecific
87
 
from lp.soyuz.scripts.packagecopier import update_files_privacy
88
87
from lp.soyuz.scripts.processaccepted import close_bugs_for_queue_item
89
88
 
90
89
# There are imports below in PackageUploadCustom for various bits
589
588
 
590
589
    def realiseUpload(self, logger=None):
591
590
        """See `IPackageUpload`."""
 
591
        # Circular imports.
 
592
        from lp.soyuz.scripts.packagecopier import update_files_privacy
592
593
        assert self.status == PackageUploadStatus.ACCEPTED, (
593
594
            "Can not publish a non-ACCEPTED queue record (%s)" % self.id)
594
595
        # Explode if something wrong like warty/RELEASE pass through