~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=henninge][bug=814567] Allow certain users to create private PPAs
        over the API. This time for sure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2749
2749
        return getUtility(IArchiveSet).new(
2750
2750
            owner=self, purpose=ArchivePurpose.PPA,
2751
2751
            distribution=ubuntu, name=name, displayname=displayname,
2752
 
            description=description)
 
2752
            description=description, private=private)
2753
2753
 
2754
2754
    def isBugContributor(self, user=None):
2755
2755
        """See `IPerson`."""