commit | d27ba27a55effaf13f51fb77cf5e3401b6244537 | [log] [tgz] |
---|---|---|
author | Oliver Smith <osmith@sysmocom.de> | Fri Sep 08 10:43:07 2023 +0200 |
committer | Oliver Smith <osmith@sysmocom.de> | Fri Sep 08 11:09:39 2023 +0200 |
tree | 9cf144b63d054d7b0302e0657803e49a5e7035b0 | |
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