Skip to content

Commit

Permalink
fix yaml deperecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JGjorgji committed Apr 17, 2019
1 parent 3114933 commit cd24d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaperone/cutil/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def __init__(self, *args, default = None, uid = None, extra_settings = None, dis

for fn in args:
if os.path.exists(fn):
self._merge(yaml.load(open(fn, 'r').read().expandtabs()))
self._merge(yaml.load(open(fn, 'r').read().expandtabs(), Loader=yaml.FullLoader))

if not self._conf and default:
self._conf = lazydict(yaml.load(default))
Expand Down

0 comments on commit cd24d40

Please sign in to comment.