~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2017-05-11 08:56:39 UTC
  • mfrom: (18361.2.2 person-ppas-timeout)
  • Revision ID: launchpad@pqm.canonical.com-20170511085639-b1d86zhzogh3x6gr
[r=wgrant][bug=1685202] Precache permissions for archives returned by
 Person.getVisiblePPAs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3050
3050
        from lp.soyuz.model.archive import get_enabled_archive_filter
3051
3051
 
3052
3052
        filter = get_enabled_archive_filter(
3053
 
            user, purpose=ArchivePurpose.PPA,
3054
 
            include_public=True, include_subscribed=True)
 
3053
            user, purpose=ArchivePurpose.PPA, include_public=True)
3055
3054
        return Store.of(self).find(
3056
3055
            Archive,
3057
3056
            Archive.owner == self,