Skip to content

Commit

Permalink
bunch: use yaml.safe_load to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
koreno committed Dec 11, 2020
1 parent 027c593 commit 3a6e55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easypy/bunch.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def from_json(cls, d):
@classmethod
def from_yaml(cls, d):
import yaml
return cls.from_dict(yaml.load(d))
return cls.from_dict(yaml.safe_load(d))

@classmethod
def from_xml(cls, d):
Expand Down

0 comments on commit 3a6e55f

Please sign in to comment.