Skip to content

Commit bb16c35

Browse files
authored
DEV 2837 replace yaml.load with yaml.safe_load (#290)
1 parent a32dfd1 commit bb16c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdc_client/upload/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def validate(manifest, schema=UPLOAD_MANIFEST_SCHEMA):
1515

1616
def load(m, schema=UPLOAD_MANIFEST_SCHEMA):
1717
"""Load and validate a manifest."""
18-
manifest = yaml.load(m)
18+
manifest = yaml.safe_load(m)
1919

2020
validate(
2121
manifest,

0 commit comments

Comments
 (0)