Merge "More yaml.safe_load() in testinfra/conftest.py"

changes/48/814048/1
Zuul 1 year ago committed by Gerrit Code Review
commit e2fdcc73fd

@ -14,7 +14,7 @@ def zuul_data():
zuul_extra_data_file = os.environ.get('TESTINFRA_EXTRA_DATA')
if os.path.exists(zuul_extra_data_file):
with open(zuul_extra_data_file, 'r') as f:
extra = yaml.load(f)
extra = yaml.safe_load(f)
data['extra'] = extra
return data

Loading…
Cancel
Save