Comment 10 for bug 498181

Revision history for this message
C de-Avillez (hggdh2) wrote : Re: cannot propose a member to a team trough launchpadlib

In this case all of us (Markus, Pedro, and myself) are admins on the bugsquad-mentorship team, and we are just proposing members (not really adding):

team = launchpad.people['bugsquad-mentorship']
people = launchpad.people

for arg in sys.argv[1:]:
    student = people [arg]
    team.addMember (person=student, status='Proposed', comment='proposing a new student to the bugsquad mentorship group')

so it is indeed the [busquad-memtorship].addMember method we should use.