--- a/buildframework/helium/tools/quality/mmp-to-target.ant.xml Wed Sep 29 17:48:06 2010 +0100
+++ b/buildframework/helium/tools/quality/mmp-to-target.ant.xml Sun Oct 10 15:22:15 2010 +0300
@@ -61,12 +61,13 @@
for filename in ds.getIncludedFiles():
filename = os.path.join(str(ds.getBasedir()), str(filename))
project.log("Analysing %s" % filename, 4)
- input = open(filename, 'r')
- for line in input.readlines():
+ inputfile = open(filename, 'r')
+ for line in inputfile.readlines():
m = match_target.match(line)
# do not match resource files.
if m != None and os.path.splitext(m.group(1))[1].lower() != ".rsc":
output.write("%s : %s\n" % (os.path.splitdrive(filename)[1], m.group(1)))
+ inputfile.close()
output.close()
]]>
</scriptdef>