Fix parsing IANA scheme CSV with obsolete flag

This commit is contained in:
Malte Gerth 2022-02-06 23:39:54 +01:00
parent ff7e157a18
commit 69d35760f2

View file

@ -101,6 +101,7 @@ def parse_csv_file(url, res):
first_row = False
else:
scheme, template, description, status, urisupport, reference, notes = row
scheme = scheme.replace(" (OBSOLETE)", "") # remove the HTTP historic experiments flag
if status not in res:
res[status] = {}
res[status][scheme] = description