From 5bcf18b0ac2e95ed4490dd63976b9f7831272819 Mon Sep 17 00:00:00 2001 From: John Snow Date: Fri, 2 Dec 2022 19:52:33 -0500 Subject: [PATCH] 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 --- tests/qemu-iotests/check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))