wylark
/
infoex-autowx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix pylint(1) issue
[infoex-autowx.git]
/
infoex-autowx.py
diff --git
a/infoex-autowx.py
b/infoex-autowx.py
index fdaec3485e2f09534568f11b6d3ef94dc6938300..d6e199a87954a1a261346d97085a5727f31400ec 100755
(executable)
--- a/
infoex-autowx.py
+++ b/
infoex-autowx.py
@@
-39,7
+39,7
@@
import zeep
import zeep.cache
import zeep.transports
import zeep.cache
import zeep.transports
-__version__ = '2.
1
.0'
+__version__ = '2.
2
.0'
LOG = logging.getLogger(__name__)
LOG.setLevel(logging.NOTSET)
LOG = logging.getLogger(__name__)
LOG.setLevel(logging.NOTSET)
@@
-114,7
+114,7
@@
def setup_config(config):
except KeyError as err:
LOG.critical("%s not defined in configuration file", err)
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:
# 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)
raise ValueError
except ValueError:
LOG.critical("Config value '%s.%s' is empty", key, subkey)
- exit(1)
+
sys.
exit(1)
return (infoex, station)
return (infoex, station)