mirror of
https://github.com/OfflineIMAP/offlineimap.git
synced 2025-12-13 20:36:51 +01:00
contrib: use yaml.safe_load() instead of load()
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user