diff options
author | Boris Fiuczynski <fiuczy@linux.vnet.ibm.com> | 2018-05-16 10:24:34 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2018-05-16 10:40:46 +0200 |
commit | c84192fbd4911f425e20c774bb9a1968f0425340 (patch) | |
tree | 469bdde8dae6e5007a26b49b57f23bb8f266290e /libvirt-override-virStream.py | |
parent | 318e3055122f7011391cf8b8da4fbbb9ef571f01 (diff) | |
download | libvirt-python-c84192fbd4911f425e20c774bb9a1968f0425340.tar.gz |
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>
Diffstat (limited to 'libvirt-override-virStream.py')
-rw-r--r-- | libvirt-override-virStream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override-virStream.py b/libvirt-override-virStream.py index 358a5f6..901c2e6 100644 --- a/libvirt-override-virStream.py +++ b/libvirt-override-virStream.py @@ -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 |