Commit b8fdb228 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#2 Use sys.exit() rather than exit() in Python script, following the...

#2 Use sys.exit() rather than exit() in Python script, following the suggestion fron Laurent Steff in its review of MR ctest -I 45,45,1 -V.
parent 4288294c
#!python
import argparse
import sys
from typing import Optional
from typing import Sequence
......@@ -40,4 +41,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
if __name__ == '__main__':
exit(main())
\ No newline at end of file
sys.exit(main())
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment