From 06d8213ffd78ed040b61307ccb71dc1f3cd42a7b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 20 Dec 2012 09:53:08 +0100 Subject: [PATCH] minor fix (reading of unicode xml files) --- lib/core/common.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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