~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/sourcepackage.py

  • Committer: Jelmer Vernooij
  • Date: 2011-09-21 14:28:02 UTC
  • mfrom: (14006 devel)
  • mto: This revision was merged to the branch mainline in revision 14010.
  • Revision ID: jelmer@canonical.com-20110921142802-7ggkc204igsy532w
MergeĀ lp:launchpad

Show diffs side-by-side

added added

removed removed

Lines of Context:
754
754
            SeriesSourcePackageBranchSet.new(
755
755
                self.distroseries, pocket, self.sourcepackagename, branch,
756
756
                registrant)
 
757
            # Avoid circular imports.
 
758
            from lp.registry.model.distributionsourcepackage import (
 
759
                DistributionSourcePackage,
 
760
                )
 
761
            DistributionSourcePackage.ensure(sourcepackage=self)
 
762
        else:
 
763
            # Delete the official DSP if there is no publishing history.
 
764
            self.distribution_sourcepackage.delete()
757
765
 
758
766
    @property
759
767
    def linked_branches(self):