Make it possible to set bug privacy using the API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Eleanor Berger |
Bug Description
Expose IBug.setPrivate to that it's possible to set bug privacy using the API.
-------
was:
*setup launchpadlib object*
bug = launchpad.bugs[num]
bug.private = False
bug.lp_save()
this fails:
Traceback (most recent call last):
File "./not-a-bug.py", line 33, in <module>
bug.lp_save()
File "/usr/lib/
self.
File "/usr/lib/
extra_
File "/usr/lib/
raise HTTPError(response, content)
launchpadlib.
content is: ('private', <Bug at 0x974f1d0>)
OOPS: OOPS-1081EA142
description: | updated |
Changed in malone: | |
assignee: | nobody → intellectronica |
status: | Triaged → In Progress |
Changed in malone: | |
status: | In Progress → Fix Committed |
Changed in malone: | |
status: | Fix Committed → Fix Released |
Setting bug privacy using the API is not possible yet. When it will be, though, it probably won't be by setting the `private` attribute but rather by calling setPrivate on the bug.