Codebase list rust-bzip2 / 78e0158
ensure that yaml.load is safe and avoid a deprecation warning (see https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation) Daniel Kahn Gillmor 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2121
2222 print("parsing excuses.yaml...", file=sys.stderr)
2323 with open("excuses.yaml") as fp:
24 y = yaml.load(fp)
24 y = yaml.load(fp, Loader=yaml.FullLoader)
2525
2626 excuses = {}
2727 for e in y["sources"]: