Skip to content

Commit

Permalink
Merge pull request #18 from fbouliane/master
Browse files Browse the repository at this point in the history
Remove yaml unsafe deprecation warning
  • Loading branch information
lindycoder authored Apr 1, 2019
2 parents 8772cd1 + 684d2f6 commit dc290ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config_probe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def fake_probe(content):


_parsers = {
".yaml": lambda f: yaml.load(f) or {},
".yaml": lambda f: yaml.safe_load(f) or {},
".json": lambda f: json.load(f),
}

Expand Down

0 comments on commit dc290ae

Please sign in to comment.