summaryrefslogtreecommitdiff
path: root/libvirt-override-virStream.py
diff options
context:
space:
mode:
authorRobie Basak <robie.basak@canonical.com>2014-01-23 14:24:12 +0000
committerDaniel P. Berrange <berrange@redhat.com>2014-01-23 14:29:16 +0000
commitea9339c878ffc344a3ef0cc659b7bce87125678f (patch)
tree58139fdda178d01daa3d836116754f89f1f29833 /libvirt-override-virStream.py
parentde8361627c4f3fa2a1f8dd164ef80c5f0a6a17f6 (diff)
downloadlibvirt-python-ea9339c878ffc344a3ef0cc659b7bce87125678f.tar.gz
Fix calling of virStreamSend method
Change d40861 removed the 'len' argument from the virStreamSend C level wrapper, but forgot to remove it from the python level wrapper. Reported-by: Robie Basak <robie.basak@canonical.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'libvirt-override-virStream.py')
-rw-r--r--libvirt-override-virStream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override-virStream.py b/libvirt-override-virStream.py
index cd44314..ce82da6 100644
--- a/libvirt-override-virStream.py
+++ b/libvirt-override-virStream.py
@@ -122,6 +122,6 @@
with the call, but may instead be delayed until a
subsequent call.
"""
- ret = libvirtmod.virStreamSend(self._o, data, len(data))
+ ret = libvirtmod.virStreamSend(self._o, data)
if ret == -1: raise libvirtError ('virStreamSend() failed')
return ret