wylark
/
infoex-autowx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1677d8f
)
Fix pylint(1) issue
author
Alexander Vasarab <alexander@wylark.com>
Sun, 29 Nov 2020 20:55:15 +0000
(12:55 -0800)
committer
Alexander Vasarab <alexander@wylark.com>
Sun, 29 Nov 2020 20:55:15 +0000
(12:55 -0800)
infoex-autowx.py
patch
|
blob
|
history
diff --git
a/infoex-autowx.py
b/infoex-autowx.py
index ea23bc3e9567b47ac3a710ed7f3938fc4fc71a27..d6e199a87954a1a261346d97085a5727f31400ec 100755
(executable)
--- 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)