Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915d344 commit 2840f20Copy full SHA for 2840f20
1 file changed
lib/core/common.py
@@ -1089,9 +1089,9 @@ def getConsoleWidth(default=80):
1089
return width if width else default
1090
1091
def parseXmlFile(xmlFile, handler):
1092
- file = open(paths.GENERIC_XML)
1093
- content = file.read()
+ xfile = open(xmlFile)
+ content = xfile.read()
1094
stream = StringIO(content)
1095
parse(stream, handler)
1096
stream.close()
1097
- file.close()
+ xfile.close()
0 commit comments