Comment 8 for bug 677209

Revision history for this message
Colin Watson (cjwatson) wrote :

I tried to change the owner as follows:

  ubuntu_archive = lp.people['ubuntu-archive']
  for archive in lp.distributions['ubuntu'].archives:
      archive.owner = ubuntu_archive
      archive.lp_save()

... but got ForbiddenAttribute. Tom Haddon tried and got the same thing, so it's evidently not allowed over the API. Is that intentional?

Tom will follow up with the SQL.