Skip to content

Commit

Permalink
iotests/check: Fix typing for sys.exit() value
Browse files Browse the repository at this point in the history
Signed-off-by: John Snow <[email protected]>
Reviewed-by: Wilfred Mallawa <[email protected]>
Message-id: [email protected]
Signed-off-by: John Snow <[email protected]>
  • Loading branch information
jnsnow committed Jan 4, 2023
1 parent 745d58f commit 5bcf18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/qemu-iotests/check
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5bcf18b

Please sign in to comment.