~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Curtis Hovey
  • Date: 2011-09-19 20:53:38 UTC
  • mto: This revision was merged to the branch mainline in revision 14002.
  • Revision ID: curtis.hovey@canonical.com-20110919205338-13ufigsnsbt71gzq
Moved official DSP branch into SourcePackage becaus it is the
underlying object that setBranch() is called with in the two
IHasLinkedBranches implementations that need a DSP.

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)
757
762
 
758
763
    @property
759
764
    def linked_branches(self):