how to invoke destructors?
The IBranch interface now supports a destructor (named destroySelfBrea
Another method that was added to the IBranch interface in the same patch named canBeDeleted() shows up and can be called without problems.
How should I call this destructor?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Leonard Richardson
- Solved:
- 2010-03-08
- Last query:
- 2010-03-08
- Last reply:
- 2010-03-01
|
#1 |
It looks like I never implemented support for entry destructors in lazr.restfulclient. I don't see any tests in lazr.restfulclient that invoke DELETE on any resource other than a hosted file. This is a bug.
As a workaround, something like this code should work:
self._root.
Jelmer Vernooij (jelmer) said : | #2 |
Thanks Leonard Richardson, that solved my question.
Jelmer Vernooij (jelmer) said : | #3 |
Thanks, that worked. I've also filed a bug since it would still be nice if this was more easily accessible.