~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-25 06:18:33 UTC
  • mfrom: (13757.2.5 dspc-out-of-distro)
  • Revision ID: launchpad@pqm.canonical.com-20110825061833-gh16x76cuq2xjix1
[r=sinzui][no-qa] Move DistroSeriesPackageCache maintenance methods
 out of DistroSeries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
from lp.soyuz.model.binarypackagename import BinaryPackageName
44
44
from lp.soyuz.model.binarypackagerelease import BinaryPackageRelease
45
45
from lp.soyuz.model.distroseriesbinarypackage import DistroSeriesBinaryPackage
46
 
from lp.soyuz.model.distroseriespackagecache import DistroSeriesPackageCache
47
46
from lp.soyuz.model.publishing import (
48
47
    BinaryPackagePublishingHistory,
49
48
    SourcePackagePublishingHistory,
165
164
        #avoid circular imports.
166
165
        from lp.registry.model.distroseries import DistroSeries
167
166
        from lp.soyuz.model.distroarchseries import DistroArchSeries
 
167
        from lp.soyuz.model.distroseriespackagecache import (
 
168
            DistroSeriesPackageCache)
168
169
        store = getUtility(IStoreSelector).get(MAIN_STORE, DEFAULT_FLAVOR)
169
170
        archive_ids = list(self.distribution.all_distro_archive_ids)
170
171
        result_row = (