From: Max Reitz Date: Wed, 15 May 2019 20:15:02 +0000 (+0200) Subject: iotests.py: Fix VM.run_job X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=86a4f599a67b9b709109c7a7c8b7eb91d21c21fd;p=qemu.git iotests.py: Fix VM.run_job log() is in the current module, there is no need to prefix it. In fact, doing so may make VM.run_job() unusable in tests that never use iotests.log() themselves. Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Signed-off-by: Kevin Wolf --- diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index d96ba1f63c..7bde380d96 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -552,7 +552,7 @@ class VM(qtest.QEMUQtestMachine): elif status == 'null': return error else: - iotests.log(ev) + log(ev) def node_info(self, node_name): nodes = self.qmp('query-named-block-nodes')