summaryrefslogtreecommitdiffstats
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorMax Reitz2018-10-22 15:53:06 +0200
committerEduardo Habkost2018-10-31 01:13:54 +0100
commit2d894bee1c907399fbd59163a18e42c41daf4863 (patch)
tree89634e65be7ec206e333d52de4e260e511bef2e8 /linux-user/main.c
parentiotests: 'new' module replacement in 169 (diff)
downloadqemu-2d894bee1c907399fbd59163a18e42c41daf4863.tar.gz
qemu-2d894bee1c907399fbd59163a18e42c41daf4863.tar.xz
qemu-2d894bee1c907399fbd59163a18e42c41daf4863.zip
iotests: Modify imports for Python 3
There are two imports that need to be modified when running the iotests under Python 3: One is StringIO, which no longer exists; instead, the StringIO class comes from the io module, so import it from there (and use the BytesIO class for Python 2). The other is the ConfigParser, which has just been renamed to configparser. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20181022135307.14398-9-mreitz@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions