~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-12-13 00:39:30 UTC
  • mfrom: (14492.1.1 testfix-rev-14491)
  • Revision ID: launchpad@pqm.canonical.com-20111213003930-rtjiu5ic9t404eir
[testfix][rs=sinzui][no-qa] IPerson.account_status is public to
 internal API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
684
684
        required=False, default=False))
685
685
    is_team = exported(
686
686
        Bool(title=_('Is this object a team?'), readonly=True))
 
687
    account_status = Choice(
 
688
        title=_("The status of this person's account"), required=False,
 
689
        readonly=True, vocabulary=AccountStatus)
 
690
    account_status_comment = Text(
 
691
        title=_("Why are you deactivating your account?"), required=False,
 
692
        readonly=True)
687
693
 
688
694
 
689
695
class IPersonLimitedView(IHasIcon, IHasLogo):
807
813
                readonly=False, required=False,
808
814
                value_type=Reference(schema=ISSHKey)))
809
815
 
810
 
    account_status = Choice(
811
 
        title=_("The status of this person's account"), required=False,
812
 
        readonly=True, vocabulary=AccountStatus)
813
 
 
814
 
    account_status_comment = Text(
815
 
        title=_("Why are you deactivating your account?"), required=False,
816
 
        readonly=True)
817
 
 
818
816
    # Properties of the Person object.
819
817
    karma_category_caches = Attribute(
820
818
        'The caches of karma scores, by karma category.')