diff --git a/tests/test_autopkgtest.py b/tests/test_autopkgtest.py index 5aaf8cd..b81f2ca 100644 --- a/tests/test_autopkgtest.py +++ b/tests/test_autopkgtest.py @@ -116,7 +116,7 @@ class T(TestBase): # convert excuses to source indexed dict excuses_dict = {} - for s in yaml.load(excuses_yaml)['sources']: + for s in yaml.safe_load(excuses_yaml)['sources']: excuses_dict[s['source']] = s if 'SHOW_EXCUSES' in os.environ: