mirror of https://github.com/pyodide/pyodide.git
MAINT: yaml.load -> yaml.safe_load in pyodide_build (#717)
This commit is contained in:
parent
018f4a23c9
commit
bc3ffaae42
|
@ -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]]:
|
||||
|
|
Loading…
Reference in New Issue