Merge lp:~leonardr/lazr.restfulclient/delete-entry into lp:lazr.restfulclient
Proposed by
Leonard Richardson
on 2010-04-29
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2010-05-03 |
| Approved revision: | 101 |
| Merged at revision: | not available |
| Proposed branch: | lp:~leonardr/lazr.restfulclient/delete-entry |
| Merge into: | lp:lazr.restfulclient |
| Diff against target: |
81 lines (+34/-1) 4 files modified
src/lazr/restfulclient/NEWS.txt (+4/-1) src/lazr/restfulclient/_browser.py (+1/-0) src/lazr/restfulclient/docs/entries.txt (+25/-0) src/lazr/restfulclient/resource.py (+4/-0) |
| To merge this branch: | bzr merge lp:~leonardr/lazr.restfulclient/delete-entry |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2010-04-29 | Approve on 2010-05-03 | |
|
Review via email:
|
|||
Description of the Change
This branch rectifies a major oversight: there was no non-hacky way to DELETE a lazr.restful entry resource from lazr.restfulclient.
To get the tests to work I had to create
https:/
To post a comment you must log in.
| Leonard Richardson (leonardr) wrote : | # |
| Leonard Richardson (leonardr) wrote : | # |
The fix-remove-recipe branch seems not to be necessary--there was an intermittent problem with my setup that's now gone away.
| Leonard Richardson (leonardr) wrote : | # |
review:
Approve
lp:~leonardr/lazr.restfulclient/delete-entry
updated
on 2010-05-03
- 102. By Leonard Richardson on 2010-05-03
-
Updated release date.

Oh: I originally wanted to implement __del__ instead of lp_delete, but upon reading the documentation I saw that __del__ deletes the _variable_ assignment, not necessarily the underlying object. So it's not an appropriate overload.