Use yaml.safe_load instead of load

Change Ie14935f604f23b0928eed0dd8e28dff49699a2d1 altered one use of
this method, but this one was missed.

Change-Id: I299a12d73a6524f5097712f97342aed640786eea
This commit is contained in:
David Shrewsbury 2019-03-28 11:16:10 -04:00
parent 6c2c1d3aac
commit 15fed047e1
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class ConfigValidator:
}
log.info("validating %s" % self.config_file)
config = yaml.load(open(self.config_file))
config = yaml.safe_load(open(self.config_file))
# validate the overall schema
schema = v.Schema(top_level)