summaryrefslogtreecommitdiffstats
path: root/scripts/simplebench
diff options
context:
space:
mode:
authorStefan Weil2022-01-07 16:30:19 +0100
committerJohn Snow2022-01-11 00:23:10 +0100
commit9ebfc5a583d8aa94bf1bc37c1f71559187fd809c (patch)
tree8338a6e1408f066fa16d4985836f8a90156ccab3 /scripts/simplebench
parentpython: update type hints for mypy 0.930 (diff)
downloadqemu-9ebfc5a583d8aa94bf1bc37c1f71559187fd809c.tar.gz
qemu-9ebfc5a583d8aa94bf1bc37c1f71559187fd809c.tar.xz
qemu-9ebfc5a583d8aa94bf1bc37c1f71559187fd809c.zip
simplebench: Fix Python syntax error (reported by LGTM)
Fixes: b2fcb0c5754c2554b8406376e99a75e9e0a6b7bd Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 20220107153019.504124-1-sw@weilnetz.de Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/simplebench')
-rw-r--r--scripts/simplebench/bench-example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/simplebench/bench-example.py b/scripts/simplebench/bench-example.py
index 4864435f39..fc370691e0 100644
--- a/scripts/simplebench/bench-example.py
+++ b/scripts/simplebench/bench-example.py
@@ -25,7 +25,7 @@ from bench_block_job import bench_block_copy, drv_file, drv_nbd
def bench_func(env, case):
""" Handle one "cell" of benchmarking table. """
- return bench_block_copy(env['qemu_binary'], env['cmd'], {}
+ return bench_block_copy(env['qemu_binary'], env['cmd'], {},
case['source'], case['target'])