Re: [PATCH python] Fix calling of virStreamSend method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/01/14 22:25, Daniel P. Berrange wrote:

About the subject prefix, [libvirt-python] should be better, like
what we did for Perl binding.

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@xxxxxxxxxxxxx>
Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
  libvirt-override-virStream.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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
ACK

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]