It was meant to be a try-finally block, to ensure file is closed.

This commit is contained in:
Johan Boule 2012-07-09 03:39:59 +02:00
parent 149c122db3
commit 6c74f1051b
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ class rcc(Task.Task):
fi = open(self.inputs[0].abspath(), 'r')
try:
parser.parse(fi)
except:
finally:
fi.close()
nodes = []