diff options
author | Petr OspalĂ˝ <p.ospaly@partner.samsung.com> | 2019-06-14 08:57:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-14 08:57:25 +0000 |
commit | cf81ff7da21aed314f2dfc74fc6cd04d7354bdf1 (patch) | |
tree | 2ac479adaaf54e34fc0cb7f17c31148be7e42171 /build/creating_data | |
parent | 0c3aeee286896377c3464dfea54364ccd0807ca8 (diff) | |
parent | fd0052218c0932ba6511bc6aa99f538ab03dd1c6 (diff) |
Merge "Fix issue with yaml.load in docker collector"
Diffstat (limited to 'build/creating_data')
-rwxr-xr-x | build/creating_data/docker-images-collector.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/creating_data/docker-images-collector.sh b/build/creating_data/docker-images-collector.sh index 9206b0bb..6761c328 100755 --- a/build/creating_data/docker-images-collector.sh +++ b/build/creating_data/docker-images-collector.sh @@ -47,7 +47,7 @@ import yaml import sys with open("${1}", 'r') as f: - values = yaml.load(f) + values = yaml.load(f, Loader=yaml.SafeLoader) enabled = filter(lambda x: values[x].get('enabled', False) == True, values) print(' '.join(enabled)) |