From 43f28c8076a8899d56cbd232d48b5e4717a0cbeb Mon Sep 17 00:00:00 2001 From: Hirokuni Kitahara Date: Tue, 24 Oct 2023 22:33:05 +0900 Subject: [PATCH] fix wrong yaml instance type (#201) Signed-off-by: hirokuni-kitahara --- ansible_risk_insight/yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_risk_insight/yaml.py b/ansible_risk_insight/yaml.py index 99e14b2d..e5708669 100644 --- a/ansible_risk_insight/yaml.py +++ b/ansible_risk_insight/yaml.py @@ -25,7 +25,7 @@ def _set_yaml(force=False): if not _yaml.get(None) or force: - yaml = YAML(typ="safe", pure=True) + yaml = YAML(typ="rt", pure=True) yaml.default_flow_style = False yaml.preserve_quotes = True yaml.allow_duplicate_keys = True