From bc3ffaae427e35b9ecd9a6216fadad031a363a47 Mon Sep 17 00:00:00 2001 From: chigozienri Date: Fri, 10 Jul 2020 21:55:43 +0100 Subject: [PATCH] MAINT: yaml.load -> yaml.safe_load in pyodide_build (#717) --- pyodide_build/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyodide_build/common.py b/pyodide_build/common.py index 7d6752c94..de955a32b 100644 --- a/pyodide_build/common.py +++ b/pyodide_build/common.py @@ -33,7 +33,7 @@ def parse_package(package): # TODO: Validate against a schema with open(package) as fd: - return yaml.load(fd) + return yaml.safe_load(fd) def _parse_package_subset(query: Optional[str]) -> Optional[Set[str]]: