Change-Id: I85fd9a038aa123eaf9b216e9d15f709cef7a808a
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:], Loader=yaml.SafeLoader)
+ value = yaml.load(value[7:])
params2[key] = value
values_file = get_random_number() + '.yaml'
def get_descriptor(descriptor):
desc = None
try:
- tmp = yaml.load(descriptor, Loader=yaml.Loader)
+ tmp = yaml.load(descriptor)
# Remove the envelope
root = list(tmp.keys())[0]