Commit 930008ee authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

safeloader

parent 9ec8672d
......@@ -112,7 +112,7 @@ def cli(configfile):
if not cache_file.startswith('/'):
cache_file = os.path.split(configfile.name)[0]+'/'+cache_file
with open(cache_file, 'r') as ymlfile:
cache = yaml.load(ymlfile)
cache = yaml.load(ymlfile, Loader=yaml.SafeLoader)
# Compare volumes in cfg and in cache
if cfg['volumes'] == cache['volumes']:
# Get previous run data
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment