return True
except catch_exception:
pass
- time.sleep(1)
+ time.sleep(5)
try:
return func() == result
except catch_exception:
if yamlfile is None:
return None
- dict = yaml.load(tar.extractfile(yamlfile))
+ dict = yaml.safe_load(tar.extractfile(yamlfile))
result = {}
for k1, v1 in list(dict.items()):
if not k1.endswith('-catalog'):