How to enable/disable a release for a source package recipe using the API
Asked by
Philip Muškovac
what I've tried is:
1 lp = Launchpad.
2 neon = lp.people['neon']
3 ubuntu = lp.distribution
4 recipe = neon.recipes[0] # any that doesn't have raring enabled
5 recipe.
6 recipe.lp_save()
Looking at recipe.distroseries after line 5 shows that the list now contains raring, but as soon as I run lp_save() the change is reset. What am I doing wrong?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Curtis Hovey
- Solved:
- Last query:
- Last reply:
To post a message you must log in.