diff --git a/tools/spec.py b/tools/spec.py index b930908..ffcda1a 100644 --- a/tools/spec.py +++ b/tools/spec.py @@ -4,7 +4,7 @@ import sys import logging from typing import List, Dict, Set -import xml.etree.ElementTree as ET +import xml.etree.ElementTree ############################################################################### @@ -890,7 +890,7 @@ def main(): # Get a copy of the specification XML with open(args.src, 'r') as src: - tree = ET.parse(src) + tree = xml.etree.ElementTree.parse(src) root = tree.getroot() # Find a parser for each of the nodes in the XML