
24 Aug
2020
24 Aug
'20
5:31 a.m.
On Sat, Aug 22, 2020 at 10:32:09AM -0400, Jeremy Markle wrote:
I'm using the python-libvirt library and finding that I cannot get .destroy() or .shutdown() to work.
https://github.com/simora/docker-libvirt-flask/blob/cba6041b47bdf4ccb3b9506a...
Your code has alot of "< 0" checks. This is the C API behaviour to return -1 on error. In python we raise exceptions on error. so you try try/except to catch them Daniel