Re: [ovirt-users] Python SDK .remove() does not return True?

2016-12-19 Thread Ondra Machacek
On Sun, Dec 18, 2016 at 9:34 PM, Yaniv Kaul wrote: > > > On Dec 18, 2016 8:39 PM, "Juan Hernández" wrote: > > On 12/18/2016 05:32 PM, Yaniv Kaul wrote: >> I'd expect, like other actions, add() for example, that I can ensure >> .remove() (for clusters, DCs, etc.) will return True as a sign for >>

Re: [ovirt-users] Python SDK .remove() does not return True?

2016-12-18 Thread Yaniv Kaul
On Dec 18, 2016 8:39 PM, "Juan Hernández" wrote: On 12/18/2016 05:32 PM, Yaniv Kaul wrote: > I'd expect, like other actions, add() for example, that I can ensure > .remove() (for clusters, DCs, etc.) will return True as a sign for success. > Is that a bug or a design choice? > TIA, > Y. > It is

Re: [ovirt-users] Python SDK .remove() does not return True?

2016-12-18 Thread Juan Hernández
On 12/18/2016 05:32 PM, Yaniv Kaul wrote: > I'd expect, like other actions, add() for example, that I can ensure > .remove() (for clusters, DCs, etc.) will return True as a sign for success. > Is that a bug or a design choice? > TIA, > Y. > It is by design. The method returns nothing, because in