From de04cfccdf404fe08a86b5a03b167bfe7cfc4439 Mon Sep 17 00:00:00 2001 From: "Niels G. W. Serup" Date: Tue, 29 Oct 2019 13:48:51 +0100 Subject: [PATCH] Update YAML library use. --- scripts/transform-file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/transform-file.py b/scripts/transform-file.py index 8e3a4c1..2af2935 100755 --- a/scripts/transform-file.py +++ b/scripts/transform-file.py @@ -62,7 +62,7 @@ def extract_markdown_abstract(filename): yaml_block = '' elif state == 1: if line == '---\n': - y = yaml.load(yaml_block) + y = yaml.safe_load(yaml_block) if y is None: return None else: