From: Chris Lamb Date: Tue, 27 Oct 2009 19:42:02 +0000 (+0000) Subject: Close sourcefile. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeee01f3c3988104d2c495882bb75959255fa55d;p=dak Close sourcefile. Signed-off-by: Chris Lamb --- diff --git a/daklib/queue.py b/daklib/queue.py index cdf366f8..2d371e8d 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1214,6 +1214,7 @@ class Upload(object): # Parse the yaml file sourcefile = file(tagfile, 'r') sourcecontent = sourcefile.read() + sourcefile.close() try: lintiantags = yaml.load(sourcecontent) except yaml.YAMLError, msg: