Change-Id: I1bc0e7197f6057c942490b710fbaf25013202ecb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
for key in params:
value = params.get(key)
if '!!yaml' in str(value):
- value = yaml.load(value[7:])
+ value = yaml.load(value[7:], Loader=yaml.SafeLoader)
params2[key] = value
values_file = get_random_number() + '.yaml'
def get_descriptor(descriptor):
desc = None
try:
- tmp = yaml.load(descriptor)
+ tmp = yaml.load(descriptor, Loader=yaml.Loader)
# Remove the envelope
root = list(tmp.keys())[0]