simplebench: Fix Python syntax error (reported by LGTM)
authorStefan Weil <sw@weilnetz.de>
Fri, 7 Jan 2022 15:30:19 +0000 (16:30 +0100)
committerJohn Snow <jsnow@redhat.com>
Mon, 10 Jan 2022 23:23:10 +0000 (18:23 -0500)
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>
scripts/simplebench/bench-example.py

index 4864435f396f9b7e49cad2c38bf4119ad6d1af20..fc370691e04f73a472c58e6141619e30548c76f9 100644 (file)
@@ -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'])