Commit a778a119 authored by Rafal Skolasinski's avatar Rafal Skolasinski

Replace yaml.load with yaml.safe_load.

As documented
yaml.load uses unsafe loader.
parent 5c823a7d
Pipeline #25375 passed with stages
in 3 minutes and 44 seconds
......@@ -61,7 +61,7 @@ class DataBank(UserDict):
# Read parameters from file
with open(fpath, 'r') as f:
for name, data in yaml.load(
for name, data in yaml.safe_load([name] = data['parameters']
def __str__(self):
Markdown is supported
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