From: John Snow Date: Sat, 3 Dec 2022 00:52:33 +0000 (-0500) Subject: iotests/check: Fix typing for sys.exit() value X-Git-Tag: v8.0.0~152^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5bcf18b0ac2e95ed4490dd63976b9f7831272819;p=mirror_qemu.git iotests/check: Fix typing for sys.exit() value Signed-off-by: John Snow Reviewed-by: Wilfred Mallawa Message-id: 20221203005234.620788-3-jsnow@redhat.com Signed-off-by: John Snow --- diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index 75de1b4691..9bdda1394e 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -159,7 +159,7 @@ if __name__ == '__main__': if not tests: raise ValueError('No tests selected') except ValueError as e: - sys.exit(e) + sys.exit(str(e)) if args.dry_run: print('\n'.join(tests))