Merge pull request #4365 from cevich/safe_load

Cirrus: Fix minor python deprecation warning
This commit is contained in:
OpenShift Merge Robot
2019-10-30 18:10:16 +01:00
committed by GitHub

View File

@@ -34,7 +34,7 @@ guard-%:
fi;
%.json: %.yml
@python3 -c 'import json,yaml; json.dump( yaml.load(open("$<").read()), open("$@","w"), indent=2);'
@python3 -c 'import json,yaml; json.dump( yaml.safe_load(open("$<").read()), open("$@","w"), indent=2);'
${PACKER_DIST_FILENAME}:
@curl -L --silent --show-error \