MAINT: yaml.load -> yaml.safe_load in pyodide_build (#717)

This commit is contained in:
chigozienri 2020-07-10 21:55:43 +01:00 committed by GitHub
parent 018f4a23c9
commit bc3ffaae42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]]: