Merge "Using sys.exit(main()) instead of main()"
This commit is contained in:
commit
5f7e9540de
@ -337,4 +337,4 @@ def main():
|
|||||||
parser.parse_args(sys.argv[1:]).action()
|
parser.parse_args(sys.argv[1:]).action()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
sys.exit(main())
|
||||||
|
Loading…
Reference in New Issue
Block a user