Merge "Fix deprecation warning around yaml.load"

This commit is contained in:
Zuul 2019-03-25 18:07:43 +00:00 committed by Gerrit Code Review
commit 22d9a47cf0
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class TestGitDriver(ZuulTestCase):
# Update zuul.yaml to force a tenant reconfiguration
path = os.path.join(self.upstream_root, 'common-config', 'zuul.yaml')
config = yaml.load(open(path, 'r').read())
config = yaml.safe_load(open(path, 'r').read())
change = {
'name': 'org/project',
'check': {