From 60929fc61a149d50061ba99dfd50d96f83730bc2 Mon Sep 17 00:00:00 2001 From: Alexander Vasarab Date: Sun, 29 Nov 2020 12:55:15 -0800 Subject: [PATCH] Fix pylint(1) issue --- infoex-autowx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infoex-autowx.py b/infoex-autowx.py index ea23bc3..d6e199a 100755 --- a/infoex-autowx.py +++ b/infoex-autowx.py @@ -114,7 +114,7 @@ def setup_config(config): except KeyError as err: LOG.critical("%s not defined in configuration file", err) - exit(1) + sys.exit(1) # all sections/values present in config file, final sanity check try: @@ -124,7 +124,7 @@ def setup_config(config): raise ValueError except ValueError: LOG.critical("Config value '%s.%s' is empty", key, subkey) - exit(1) + sys.exit(1) return (infoex, station) -- 2.30.2