Re: [libvirt] [PATCH python] Fix error check for virDomainGetTime method

2017-05-24 Thread Michal Privoznik
On 05/24/2017 04:15 PM, Daniel P. Berrange wrote: > The virDomainGetTime returns either a dict or None, but the python > glue layer for checking for '-1'. Thus it failed to raise an > exception on error. > > Signed-off-by: Daniel P. Berrange > --- >

[libvirt] [PATCH python] Fix error check for virDomainGetTime method

2017-05-24 Thread Daniel P. Berrange
The virDomainGetTime returns either a dict or None, but the python glue layer for checking for '-1'. Thus it failed to raise an exception on error. Signed-off-by: Daniel P. Berrange --- libvirt-override-virDomain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)