mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-04 12:21:57 +03:00
libvirt-override.py: fix sparseSendAll
Variable ret is used before assignment. Signed-off-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
This commit is contained in:
committed by
Michal Privoznik
parent
318e305512
commit
c84192fbd4
@ -258,7 +258,7 @@
|
|||||||
got = handler(self, want, opaque)
|
got = handler(self, want, opaque)
|
||||||
if type(got) is int and got < 0:
|
if type(got) is int and got < 0:
|
||||||
self.abort()
|
self.abort()
|
||||||
raise RuntimeError("sparseSendAll handler returned %d" % ret)
|
raise RuntimeError("sparseSendAll handler returned %d" % got)
|
||||||
|
|
||||||
if not got:
|
if not got:
|
||||||
break
|
break
|
||||||
|
Reference in New Issue
Block a user