launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #05807
Re: help with beta error exporting a method
Thank you Aaron.
On Mon, 2010-11-22 at 09:40 -0500, Aaron Bentley wrote:
> > @@ -1551,6 +1551,11 @@
> > to INVITATION_DECLINED.
> > """
> >
> > + @call_with(user=REQUEST_USER)
> > + @operation_parameters(
> > + team=copy_field(ITeamMembership['team']),
> > + comment=Text(required=False))
> > + @export_write_operation()
> > def retractTeamMembership(team, user, comment=None):
> > """Retract this team's membership in the given team.
...
>
>
> It looks like the problem is that ITeamMemberShip.team is patched on
> line 2065, but you're copying it on an earlier line, so you're copying
> the unpatched version.
hmm. How is copy_field(ITeamMembership['team'] working on the four
methods that precede my method?
/me looks
Indeed, the methods I based my method on are patched and I neglected to
see that.
--
__Curtis C. Hovey_________
http://launchpad.net/
Attachment:
signature.asc
Description: This is a digitally signed message part
References