Fix debugLevel for config._readConfigFile

This commit is contained in:
Scott Kitterman
2019-04-12 21:45:31 -04:00
parent 6b851f18df
commit 357905bb68
+3 -1
View File
@@ -309,7 +309,9 @@ def _readConfigFile(path, configData=None, configGlobal={}):
dictionary of name/value pairs based on configData and the values dictionary of name/value pairs based on configData and the values
read from path.''' read from path.'''
debugLevel = configGlobal.get('debugLevel', 0) # No config file data is available yet, so to debug _readConfigFile, set
# the value here.
debugLevel = 0
if debugLevel >= 5: if debugLevel >= 5:
syslog.syslog('readConfigFile: Loading "%s"' % path) syslog.syslog('readConfigFile: Loading "%s"' % path)
if configData is None: if configData is None: