Skip to content

Commit

Permalink
sort.py: pylint: consider-using-sys-exit
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty-snake committed Sep 3, 2021
1 parent 33086c1 commit e7264f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# Requirements:
# python >= 3.6
from sys import argv
from sys import argv, exit as sys_exit


def sort_alphabetical(raw_items):
Expand Down Expand Up @@ -105,4 +105,4 @@ def main(args):


if __name__ == "__main__":
exit(main(argv[1:]))
sys_exit(main(argv[1:]))

0 comments on commit e7264f1

Please sign in to comment.