From d4c80b755e081e13bbb58fb5376f0aa21ed0ea75 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 29 Oct 2019 10:45:08 -0400 Subject: Cirrus: Fix minor python deprecation warning Signed-off-by: Chris Evich --- contrib/cirrus/packer/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit v1.2.3-54-g00ecf