contrib: use yaml.safe_load() instead of load()

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2019-08-19 19:20:29 +02:00
parent ba4ecea9e4
commit 4464195326
1 changed files with 1 additions and 1 deletions

View File

@ -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']