~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/archivesubscriber.py

  • Committer: Brad Crittenden
  • Date: 2010-07-27 19:17:43 UTC
  • mto: (7675.745.73 launchpad)
  • mto: This revision was merged to the branch mainline in revision 11319.
  • Revision ID: bac@canonical.com-20100727191743-3p0dky6ist7q9b6n
Destroy PRIVATE_MEMBERSHIP teams and remove them from the face of the Earth.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from lazr.enum import DBEnumeratedType, DBItem
21
21
 
22
22
from canonical.launchpad import _
23
 
from canonical.launchpad.fields import ParticipatingPersonChoice
 
23
from canonical.launchpad.fields import PersonChoice
24
24
from lp.soyuz.interfaces.archive import IArchive
25
25
from lp.registry.interfaces.person import IPerson
26
26
from lazr.restful.declarations import export_as_webservice_entry, exported
71
71
        title=_("Date Created"), required=True, readonly=True,
72
72
        description=_("The timestamp when the subscription was created.")))
73
73
 
74
 
    subscriber = exported(ParticipatingPersonChoice(
 
74
    subscriber = exported(PersonChoice(
75
75
        title=_("Subscriber"), required=True, readonly=True,
76
76
        vocabulary='ValidPersonOrTeam',
77
77
        description=_("The person who is subscribed.")))