From 2840f20605e2effe515eea126a7b9335504ac7e1 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 17 Apr 2010 15:43:08 +0000 Subject: [PATCH] Minor bug fix --- lib/core/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index c175fa2fb..f133901e6 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1089,9 +1089,9 @@ def getConsoleWidth(default=80): return width if width else default def parseXmlFile(xmlFile, handler): - file = open(paths.GENERIC_XML) - content = file.read() + xfile = open(xmlFile) + content = xfile.read() stream = StringIO(content) parse(stream, handler) stream.close() - file.close() + xfile.close()