Skip to content

Commit

Permalink
exit(main()) -> raise SystemExit(main()) pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Oct 24, 2021
1 parent 26a05b5 commit 28cafc2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion testing/gen-languages-all
Expand Up @@ -25,4 +25,4 @@ def main() -> int:


if __name__ == '__main__':
exit(main())
raise SystemExit(main())
2 changes: 1 addition & 1 deletion testing/make-archives
Expand Up @@ -80,4 +80,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int:


if __name__ == '__main__':
exit(main())
raise SystemExit(main())
2 changes: 1 addition & 1 deletion testing/zipapp/entry
Expand Up @@ -68,4 +68,4 @@ def main() -> int:


if __name__ == '__main__':
exit(main())
raise SystemExit(main())
2 changes: 1 addition & 1 deletion testing/zipapp/make
Expand Up @@ -106,4 +106,4 @@ def main() -> int:


if __name__ == '__main__':
exit(main())
raise SystemExit(main())
2 changes: 1 addition & 1 deletion testing/zipapp/python
Expand Up @@ -45,4 +45,4 @@ def main() -> int:


if __name__ == '__main__':
exit(main())
raise SystemExit(main())

0 comments on commit 28cafc2

Please sign in to comment.