Skip to content

Commit

Permalink
fix: replace deprecated ruamel.yaml.safe_load (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Nov 12, 2023
1 parent 593a90f commit 9536cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansibledoctor/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def set_config(self, base_dir=None):
with open(config, encoding="utf8") as stream:
s = stream.read()
try:
file_dict = ruamel.yaml.safe_load(s)
file_dict = ruamel.yaml.YAML(typ="safe", pure=True).load(s)
except (
ruamel.yaml.composer.ComposerError,
ruamel.yaml.scanner.ScannerError,
Expand Down

0 comments on commit 9536cd4

Please sign in to comment.