From ce5677aa571235e0a8c4f936e57a919abd76b904 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 29 Dec 2021 10:34:56 +0100 Subject: Convert a leftover use of ruamel.yaml.load --- lesana/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesana/collection.py b/lesana/collection.py index 7ab4334..aa82a39 100644 --- a/lesana/collection.py +++ b/lesana/collection.py @@ -563,7 +563,7 @@ class Collection(object): except jinja2.exceptions.TemplateSyntaxError as e: raise TemplatingError(e) try: - data = ruamel.yaml.load(rendered, ruamel.yaml.RoundTripLoader) + data = self.yaml.load(rendered) except ruamel.yaml.YAMLError as e: logger.warning( "The following data failed to load as YAML: \n{}".format( -- cgit v1.2.3