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
.flake8
.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
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