diff --git a/flask_fixtures/loaders.py b/flask_fixtures/loaders.py index c7b2f32..76d49ee 100644 --- a/flask_fixtures/loaders.py +++ b/flask_fixtures/loaders.py @@ -73,7 +73,7 @@ class YAMLLoader(FixtureLoader): def load(self, filename): with open(filename) as fin: - return yaml.safe_load(fin) + return yaml.load(fin, Loader=yaml.Loader) def load(filename): diff --git a/setup.py b/setup.py index 684979b..6faa38d 100644 --- a/setup.py +++ b/setup.py @@ -30,12 +30,12 @@ setup( name="Flask-YAML-Fixtures", - version="0.5.0", - url="https://github.com/mzulqarnain1/Flask-Fixtures", + version="0.5.1", + url="https://github.com/mzulqarnain1/Flask-YAML-Fixtures", license="MIT License", - author="Muhammad Zulqarnain", + author="M. Zulqarnain", author_email="zulqarnain.mailbox@gmail.com", - maintainer="Muhammad Zulqarnain", + maintainer="M. Zulqarnain", maintainer_email="zulqarnain.mailbox@gmail.com", description="A simple library for adding database fixtures for unit tests using nothing but JSON or YAML.", long_description=README,