Merge "Replaces yaml.load() with yaml.safe_load()"

This commit is contained in:
Zuul 2021-04-27 01:01:58 +00:00 committed by Gerrit Code Review
commit bc624feecd
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class ProcessmonitorManager(manager.Manager):
def _load_process_list(self):
try:
process_list = yaml.load(open(CONF.process.process_list_path))
process_list = yaml.safe_load(open(CONF.process.process_list_path))
LOG.debug("Loaded process list. %s" % process_list)
return process_list