Fix a typo. Only supply logger once.

This commit is contained in:
Jesse Keating 2007-08-24 21:08:13 -04:00 committed by Jesse Keating
parent 885dae0818
commit cfdfdbbabe

View File

@ -508,7 +508,7 @@ class Pungi(pypungi.PungiBase):
# shove the sha1sum into a file # shove the sha1sum into a file
sha1file = open(os.path.join(self.isodir, 'SHA1SUM'), 'a') sha1file = open(os.path.join(self.isodir, 'SHA1SUM'), 'a')
pypungi._doRunCommand(['/usr/bin/sha1sum', isoname], self.logger, self.logger, rundir=self.isodir, output=sha1file) pypungi._doRunCommand(['/usr/bin/sha1sum', isoname], self.logger, rundir=self.isodir, output=sha1file)
sha1file.close() sha1file.close()
# Do some clean up # Do some clean up