Drop the error on level tag in index file

This commit is contained in:
Veronica Berglyd Olsen
2022-10-17 21:31:57 +02:00
parent 5f4a171dff
commit 6c06845ed5
-4
View File
@@ -1022,10 +1022,6 @@ class IndexItem:
def unpackData(self, data):
"""Unpack an item entry from the data.
"""
if "level" in data:
# This value is now tracked as NWItem.mainHeading
raise ValueError("Outdated value found in index")
references = data.get("references", {})
for sTitle, hData in data.get("headings", {}).items():
if not isTitleTag(sTitle):