contrib: use yaml.safe_load() instead of load()
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
ba4ecea9e4
commit
4464195326
|
@ -272,7 +272,7 @@ class Testers(object):
|
||||||
def _read(self):
|
def _read(self):
|
||||||
self.testers = []
|
self.testers = []
|
||||||
with open(TESTERS_FILE, 'r') as fd:
|
with open(TESTERS_FILE, 'r') as fd:
|
||||||
testers = yaml.load(fd)
|
testers = yaml.safe_load(fd)
|
||||||
for tester in testers:
|
for tester in testers:
|
||||||
name = tester['name']
|
name = tester['name']
|
||||||
email = tester['email']
|
email = tester['email']
|
||||||
|
|
Loading…
Reference in New Issue