summaryrefslogtreecommitdiffstats
path: root/build/creating_data
diff options
context:
space:
mode:
authorPetr OspalĂ˝ <p.ospaly@partner.samsung.com>2019-06-14 08:57:25 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-14 08:57:25 +0000
commitcf81ff7da21aed314f2dfc74fc6cd04d7354bdf1 (patch)
tree2ac479adaaf54e34fc0cb7f17c31148be7e42171 /build/creating_data
parent0c3aeee286896377c3464dfea54364ccd0807ca8 (diff)
parentfd0052218c0932ba6511bc6aa99f538ab03dd1c6 (diff)
Merge "Fix issue with yaml.load in docker collector"
Diffstat (limited to 'build/creating_data')
-rwxr-xr-xbuild/creating_data/docker-images-collector.sh2
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))