summary refs log tree commit diff stats
path: root/tests/image-fuzzer/qcow2/layout.py
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2019-10-16 16:24:24 -0300
committerStefan Hajnoczi <stefanha@redhat.com>2019-11-05 16:35:06 +0100
commit8353546de54a6b1143ed23f62c976a986369fcf1 (patch)
treedbd007a306d2e3895a2d90982842b12a1a8a3628 /tests/image-fuzzer/qcow2/layout.py
parentd974451c5bc9a0bdf07a8299edf75c0f66a86e04 (diff)
downloadfocaccia-qemu-8353546de54a6b1143ed23f62c976a986369fcf1.tar.gz
focaccia-qemu-8353546de54a6b1143ed23f62c976a986369fcf1.zip
image-fuzzer: Use io.StringIO
StringIO.StringIO is not available on Python 3, but io.StringIO
is available on both Python 2 and 3.  io.StringIO is slightly
different from the Python 2 StringIO module, though, so we need
bytes coming from subprocess.Popen() to be explicitly decoded.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191016192430.25098-5-ehabkost@redhat.com
Message-Id: <20191016192430.25098-5-ehabkost@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/image-fuzzer/qcow2/layout.py')
0 files changed, 0 insertions, 0 deletions