Merge "Replaces yaml.load() with yaml.safe_load() in neutron"

This commit is contained in:
Jenkins 2017-04-17 06:56:53 +00:00 committed by Gerrit Code Review
commit e0eb0d6bfc

View File

@ -57,7 +57,7 @@ import yaml
data = urllib2.urlopen("https://raw.githubusercontent.com/openstack/"
"governance/master/reference/projects.yaml")
governance = yaml.load(data)
governance = yaml.safe_load(data)
stadium = governance["neutron"]["deliverables"].keys()
query = ["project:openstack/%s" % p for p in stadium]
print ' OR '.join(query)