Re: [libvirt] [PATCH python] Fix virStream.sendAll for Python 3

2017-05-17 Thread Xavier Fernandez
Great ! Thanks for the merge and your work :) Cheers, Xavier On Wed, May 17, 2017 at 9:12 AM, Martin Kletzander wrote: > On Fri, May 05, 2017 at 04:39:34PM +0200, Xavier Fernandez wrote: > >> In Python 3, if the file is open in binary mode, ``got`` will end up >> being

Re: [libvirt] [PATCH python] Fix virStream.sendAll for Python 3

2017-05-17 Thread Martin Kletzander
On Fri, May 05, 2017 at 04:39:34PM +0200, Xavier Fernandez wrote: In Python 3, if the file is open in binary mode, ``got`` will end up being equal to b"" and b"" != "" in Python 3. --- libvirt-override-virStream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Makes sense, I also

[libvirt] [PATCH python] Fix virStream.sendAll for Python 3

2017-05-05 Thread Xavier Fernandez
In Python 3, if the file is open in binary mode, ``got`` will end up being equal to b"" and b"" != "" in Python 3. --- 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