summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-29 10:34:56 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-29 10:34:56 +0100
commitce5677aa571235e0a8c4f936e57a919abd76b904 (patch)
treef4f39a0badf01ee85047a0932bde416afcf95276
parentbd5a6fe58cd739ea7d36cc9d37730adc4f688025 (diff)
Convert a leftover use of ruamel.yaml.load
-rw-r--r--lesana/collection.py2
1 files changed, 1 insertions, 1 deletions
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(