mirror of https://gitee.com/openkylin/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 <mreitz@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
a93a42bd91
commit
86a4f599a6
|
@ -552,7 +552,7 @@ def run_job(self, job, auto_finalize=True, auto_dismiss=False):
|
|||
elif status == 'null':
|
||||
return error
|
||||
else:
|
||||
iotests.log(ev)
|
||||
log(ev)
|
||||
|
||||
def node_info(self, node_name):
|
||||
nodes = self.qmp('query-named-block-nodes')
|
||||
|
|
Loading…
Reference in New Issue