diff --git a/easypy/bunch.py b/easypy/bunch.py index b965a6b..23161dc 100644 --- a/easypy/bunch.py +++ b/easypy/bunch.py @@ -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):