Skip to content

Commit

Permalink
fix wrong yaml instance type (#201)
Browse files Browse the repository at this point in the history
Signed-off-by: hirokuni-kitahara <[email protected]>
  • Loading branch information
hirokuni-kitahara authored Oct 24, 2023
1 parent de41a4b commit 43f28c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_risk_insight/yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43f28c8

Please sign in to comment.