[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/5] iotests/check: Fix typing for sys.exit() value
From: |
John Snow |
Subject: |
[PULL 4/5] iotests/check: Fix typing for sys.exit() value |
Date: |
Wed, 4 Jan 2023 16:04:54 -0500 |
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Message-id: 20221203005234.620788-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
---
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 75de1b4691e..9bdda1394e7 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))
--
2.39.0
- [PULL 0/5] Python patches, John Snow, 2023/01/04
- [PULL 4/5] iotests/check: Fix typing for sys.exit() value,
John Snow <=
- [PULL 3/5] Python: fix flake8 config, John Snow, 2023/01/04
- [PULL 2/5] python/machine: Handle termination cases without QMP, John Snow, 2023/01/04
- [PULL 1/5] python/machine: Add debug logging to key state changes, John Snow, 2023/01/04
- [PULL 5/5] python: add 3.11 to supported list, John Snow, 2023/01/04
- Re: [PULL 0/5] Python patches, Peter Maydell, 2023/01/05