~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-01-04 17:29:42 UTC
  • mfrom: (12156.1.4 bug-693357)
  • Revision ID: launchpad@pqm.canonical.com-20110104172942-9yf0831n1y4mn27b
[r=jcsackett, sinzui][ui=none][bug=693357] Remove has_existing_ppa and
        has_ppa_with_published_packages from IPerson and change
        IArchiveSet.getPPAOwnedByPerson to perform the same tasks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2010 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
# pylint: disable-msg=E0211,E0213
862
862
            # Really IArchive, see archive.py
863
863
            value_type=Reference(schema=Interface)))
864
864
 
865
 
    has_existing_ppa = Bool(
866
 
        title=_("Does this person have a ppa that is active or not fully "
867
 
                "deleted?"),
868
 
        readonly=True, required=False)
869
 
 
870
 
    has_ppa_with_published_packages = Bool(
871
 
        title=_("Does this person have a ppa with published packages?"),
872
 
        readonly=True, required=False)
873
 
 
874
865
    entitlements = Attribute("List of Entitlements for this person or team.")
875
866
 
876
867
    structural_subscriptions = Attribute(
2178
2169
        """
2179
2170
 
2180
2171
 
2181
 
 
2182
2172
class IRequestPeopleMerge(Interface):
2183
2173
    """This schema is used only because we want a very specific vocabulary."""
2184
2174