diff options
| author | John Snow | 2020-05-14 07:53:43 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé | 2020-05-31 18:25:31 +0200 |
| commit | 0add048fbd9992151e4c592977df9cff8558ca60 (patch) | |
| tree | b698f92d82a4c748dda9b917d3ba35317ca2cf04 /python/qemu/accel.py | |
| parent | python/qemu: remove Python2 style super() calls (diff) | |
| download | qemu-0add048fbd9992151e4c592977df9cff8558ca60.tar.gz qemu-0add048fbd9992151e4c592977df9cff8558ca60.tar.xz qemu-0add048fbd9992151e4c592977df9cff8558ca60.zip | |
python/qemu: fix socket.makefile() typing
Note:
A bug in typeshed (https://github.com/python/typeshed/issues/3977)
misinterprets the type of makefile(). Work around this by explicitly
stating that we are opening a text-mode file.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200514055403.18902-13-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'python/qemu/accel.py')
0 files changed, 0 insertions, 0 deletions
