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

[libvirt] [PATCH] python: correct a copy-paste error



From: Alex Jia <ajia redhat com>

* python/libvirt-override-virStream.py: fix a copy-paste error in sendAll().

Signed-off-by: Alex Jia <ajia redhat com>
---
 python/libvirt-override-virStream.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/libvirt-override-virStream.py b/python/libvirt-override-virStream.py
index ff53a16..b5cec2a 100644
--- a/python/libvirt-override-virStream.py
+++ b/python/libvirt-override-virStream.py
@@ -86,7 +86,7 @@
 
             ret = self.send(got)
             if ret == -2:
-                raise libvirtError("cannot use recvAll with "
+                raise libvirtError("cannot use sendAll with "
                                    "nonblocking stream")
 
     def recv(self, nbytes):
-- 
1.7.1


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