Skip to content

Commit dc290ae

Browse files
authored
Merge pull request #18 from fbouliane/master
Remove yaml unsafe deprecation warning
2 parents 8772cd1 + 684d2f6 commit dc290ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config_probe/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def fake_probe(content):
3737

3838

3939
_parsers = {
40-
".yaml": lambda f: yaml.load(f) or {},
40+
".yaml": lambda f: yaml.safe_load(f) or {},
4141
".json": lambda f: json.load(f),
4242
}
4343

0 commit comments

Comments
 (0)