diff --git a/lib/core/common.py b/lib/core/common.py index 5037e9dcb..54b159eb3 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1589,9 +1589,7 @@ def readXmlFile(xmlFile): """ checkFile(xmlFile) - - with codecs.open(xmlFile, 'r', UNICODE_ENCODING) as f: - retVal = minidom.parse(f).documentElement + retVal = minidom.parse(xmlFile).documentElement return retVal