Skip to content

Commit

Permalink
use sys.exit() instead of exit() (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiuto authored Mar 28, 2024
1 parent dcce3e6 commit e14245a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/filter_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,4 @@ def value_unused(value_tuple):


if __name__ == "__main__":
exit(main(sys.argv[1:]))
sys.exit(main(sys.argv[1:]))
2 changes: 1 addition & 1 deletion pkg/private/install.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ def main(args):


if __name__ == "__main__":
exit(main(sys.argv))
sys.exit(main(sys.argv))

0 comments on commit e14245a

Please sign in to comment.