fix the yaml load
Sylvestre Ledru
1 year, 5 months ago
6 | 6 |
|
7 | 7 |
print("parsing excuses.yaml...", file=sys.stderr)
|
8 | 8 |
with open("excuses.yaml") as fp:
|
9 | |
y = yaml.load(fp)
|
|
9 |
y = yaml.load(fp, Loader=yaml.Loader)
|
10 | 10 |
|
11 | 11 |
excuses = {}
|
12 | 12 |
for e in y["sources"]:
|