qemu-e2k/python/qemu
Cleber Rosa 3c1e16c60c Python: close the log file kept by QEMUMachine before reading it
Closing a file that is open for writing, and then reading from it
sounds like a better idea than the opposite, given that the content
will be flushed.

Reference: https://docs.python.org/3/library/io.html#io.IOBase.close
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20210211220146.2525771-2-crosa@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
2021-02-15 21:40:16 -05:00
..
__init__.py python/qemu: Remove unneeded imports in __init__ 2019-12-16 18:39:51 -05:00
.flake8 python/qemu: delint; add flake8 config 2020-05-31 18:25:30 +02:00
.isort.cfg python/qemu: use isort to lay out imports 2020-10-20 09:37:57 -04:00
accel.py python/qemu: Add mypy type annotations 2020-10-20 09:37:57 -04:00
console_socket.py python: add __repr__ to ConsoleSocket to aid debugging 2021-01-02 21:03:09 +01:00
machine.py Python: close the log file kept by QEMUMachine before reading it 2021-02-15 21:40:16 -05:00
pylintrc python/qemu: Cleanup changes to ConsoleSocket 2020-07-27 09:41:52 +01:00
qmp.py python/qemu/qmp.py: Fix settimeout operation 2020-10-20 15:00:06 -04:00
qtest.py python/qemu: Add mypy type annotations 2020-10-20 09:37:57 -04:00