diff --git a/elastic_recheck/loader.py b/elastic_recheck/loader.py index 86e53216..b6a7be0f 100644 --- a/elastic_recheck/loader.py +++ b/elastic_recheck/loader.py @@ -28,7 +28,7 @@ def load(directory='queries'): data = [] for fname in bugs: bugnum = os.path.basename(fname).rstrip('.yaml') - query = yaml.load(open(fname).read()) + query = yaml.safe_load(open(fname).read()) query['bug'] = bugnum # By default we filter out non-voting jobs, but in certain cases we # want to show failures for non-voting jobs in the graph while we