mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
configd - except configparser read (#5836)
This commit is contained in:
parent
98fe7a3881
commit
6a69e524e0
@ -260,7 +260,11 @@ class ActionHandler(object):
|
||||
|
||||
# traverse config directory and open all filenames starting with actions_
|
||||
cnf = configparser.RawConfigParser()
|
||||
cnf.read(config_filename)
|
||||
try:
|
||||
cnf.read(config_filename)
|
||||
except configparser.Error:
|
||||
syslog_error('exception occurred while reading "%s": %s' % (config_filename, traceback.format_exc(0)))
|
||||
|
||||
for section in cnf.sections():
|
||||
# map configuration data on object
|
||||
action_obj = Action(config_environment=self.config_environment)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user