Fix doc_status.py trying to get removed version tag from XML
This also runs `doc_status.py` on CI to catch potential future regressions.
This commit is contained in:
parent
60f3b7967c
commit
c16db0935f
2 changed files with 1 additions and 6 deletions
|
|
@ -383,12 +383,6 @@ for file in input_file_list:
|
|||
tree = ET.parse(file)
|
||||
doc = tree.getroot()
|
||||
|
||||
if "version" not in doc.attrib:
|
||||
print('Version missing from "doc"')
|
||||
sys.exit(255)
|
||||
|
||||
version = doc.attrib["version"]
|
||||
|
||||
if doc.attrib["name"] in class_names:
|
||||
continue
|
||||
class_names.append(doc.attrib["name"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue