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):
|
||||
self.testers = []
|
||||
with open(TESTERS_FILE, 'r') as fd:
|
||||
testers = yaml.load(fd)
|
||||
testers = yaml.safe_load(fd)
|
||||
for tester in testers:
|
||||
name = tester['name']
|
||||
email = tester['email']
|
||||
|
|
Loading…
Reference in New Issue