Skip to content

Commit

Permalink
specify loader for yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Aug 19, 2019
1 parent c2beefb commit 99da312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubetest/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def load_type(obj_type, path):
FileNotFoundError: The specified file was not found.
"""
with open(path, 'r') as f:
manifest = yaml.load(f)
manifest = yaml.full_load(f)

return new_object(obj_type, manifest)

Expand Down

0 comments on commit 99da312

Please sign in to comment.