iotests/check: Fix typing for sys.exit() value
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>
This commit is contained in:
parent
745d58f77d
commit
5bcf18b0ac
@ -159,7 +159,7 @@ if __name__ == '__main__':
|
|||||||
if not tests:
|
if not tests:
|
||||||
raise ValueError('No tests selected')
|
raise ValueError('No tests selected')
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
sys.exit(e)
|
sys.exit(str(e))
|
||||||
|
|
||||||
if args.dry_run:
|
if args.dry_run:
|
||||||
print('\n'.join(tests))
|
print('\n'.join(tests))
|
||||||
|
Loading…
Reference in New Issue
Block a user