mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2024-10-26 07:55:06 +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:
parent
318e305512
commit
c84192fbd4
@ -258,7 +258,7 @@
|
||||
got = handler(self, want, opaque)
|
||||
if type(got) is int and got < 0:
|
||||
self.abort()
|
||||
raise RuntimeError("sparseSendAll handler returned %d" % ret)
|
||||
raise RuntimeError("sparseSendAll handler returned %d" % got)
|
||||
|
||||
if not got:
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user