aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-30 18:10:16 +0100
committerGitHub <noreply@github.com>2019-10-30 18:10:16 +0100
commit9ba8dae0bfa5a5e894cf80e2ed114f6ca4bceb60 (patch)
treec0dad8e36b5d637f836ed4c1ef9dfcb3d663ae0b
parenta35d002b722c9beb711796de4a62faf30d067387 (diff)
parentd4c80b755e081e13bbb58fb5376f0aa21ed0ea75 (diff)
downloadpodman-9ba8dae0bfa5a5e894cf80e2ed114f6ca4bceb60.tar.gz
podman-9ba8dae0bfa5a5e894cf80e2ed114f6ca4bceb60.tar.bz2
podman-9ba8dae0bfa5a5e894cf80e2ed114f6ca4bceb60.zip
Merge pull request #4365 from cevich/safe_load
Cirrus: Fix minor python deprecation warning
-rw-r--r--contrib/cirrus/packer/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cirrus/packer/Makefile b/contrib/cirrus/packer/Makefile
index 947a2a1e9..fa87d7019 100644
--- a/contrib/cirrus/packer/Makefile
+++ b/contrib/cirrus/packer/Makefile
@@ -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 \