~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/doc/personroles.txt

  • Committer: Curtis Hovey
  • Date: 2011-05-27 20:10:36 UTC
  • mto: This revision was merged to the branch mainline in revision 13136.
  • Revision ID: curtis.hovey@canonical.com-20110527201036-saot8axor5ysgdv5
Updated import of hasdriver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
PersonRoles is registered as an unnamed adapter for IPersonRoles.
23
23
 
24
 
    >>> from canonical.launchpad.interfaces.launchpad import IPersonRoles
 
24
    >>> from lp.registry.interfaces.role import IPersonRoles
25
25
    >>> person = factory.makePerson()
26
26
    >>> print IPersonRoles(person)
27
27
    <lp.registry.model.personroles.PersonRoles object at ...>