summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py')
-rw-r--r--BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py b/BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py
index a86f19624c..d5fb80fcf9 100644
--- a/BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py
+++ b/BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py
@@ -214,7 +214,7 @@ def XmlParseFile(FileName):
Dom = xml.dom.minidom.parse(XmlFile)
XmlFile.close()
return Dom
- except Exception, X:
+ except Exception as X:
print X
return ""