Don't try to close() a file that gets autoclosed due to readlines().

This commit is contained in:
Jesse Keating 2008-01-21 17:32:37 -05:00 committed by Jesse Keating
parent 34bb3d57fc
commit 3ce7826b06
1 changed files with 0 additions and 1 deletions

View File

@ -314,7 +314,6 @@ class Pungi(pypungi.PungiBase):
discinfo = open(os.path.join(self.topdir, '.discinfo'), 'r').readlines()
mediaid = discinfo[0].rstrip('\n')
discinfo.close()
compsfile = os.path.join(self.workdir, '%s-%s-comps.xml' % (self.config.get('default', 'name'), self.config.get('default', 'version')))