Merge "Replace yaml.load() with yaml.safe_load()"
This commit is contained in:
commit
8dbb1e76c0
@ -79,7 +79,7 @@ def main(argv=sys.argv):
|
|||||||
|
|
||||||
# convert config to dict
|
# convert config to dict
|
||||||
if not isinstance(config, dict):
|
if not isinstance(config, dict):
|
||||||
config = ast.literal_eval(json.dumps(yaml.load(config)))
|
config = ast.literal_eval(json.dumps(yaml.safe_load(config)))
|
||||||
|
|
||||||
os.chdir(proj)
|
os.chdir(proj)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user