Skip to content

Commit

Permalink
fix wrong yaml instance type (ansible#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 and justjais committed Jun 3, 2024
1 parent 210958d commit 41fc497
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 41fc497

Please sign in to comment.