diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-09-08 10:43:07 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2023-09-08 11:09:39 +0200 |
commit | d27ba27a55effaf13f51fb77cf5e3401b6244537 (patch) | |
tree | 9cf144b63d054d7b0302e0657803e49a5e7035b0 /scripts/obs/data | |
parent | 10d7aedfebd65f18d15497b89f4ad3e1edfa7ce5 (diff) |
OBS: exit() -> sys.exit()
As pointed out in code review, sys.exit() should be used instead of
exit() from site.
https://docs.python.org/3/library/constants.html#exit says:
> The site module (which is imported automatically during startup,
> except if the -S command-line option is given) adds several
> constants to the built-in namespace. They are useful for the
> interactive interpreter shell and should not be used in programs.
Change-Id: Ia9d355e660afd1ad3c60064900d8be66e8e1d385
Diffstat (limited to 'scripts/obs/data')
0 files changed, 0 insertions, 0 deletions