~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-23 22:27:37 UTC
  • mfrom: (13240.2.17 bug-776437)
  • Revision ID: launchpad@pqm.canonical.com-20110623222737-tk7fcrkbq2f2gsbn
[r=jcsackett][bug=776437] Export IProcessorFamily, et al, attributes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1828
1828
    enabled_restricted_families = property(_getEnabledRestrictedFamilies,
1829
1829
                                           _setEnabledRestrictedFamilies)
1830
1830
 
 
1831
    def enableRestrictedFamily(self, family):
 
1832
        """See `IArchive`."""
 
1833
        restricted = set(self.enabled_restricted_families)
 
1834
        restricted.add(family)
 
1835
        self.enabled_restricted_families = restricted
 
1836
 
1831
1837
    @classmethod
1832
1838
    def validatePPA(self, person, proposed_name):
1833
1839
        ubuntu = getUtility(ILaunchpadCelebrities).ubuntu