changeset 6264:3a775af0bc9f

revlog.py: remove extra close() atomictempfile.rename() already calls close().
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 14 Mar 2008 20:01:50 -0300
parents 573534c6b540
children be76e54570f0
files mercurial/revlog.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Fri Mar 14 23:51:58 2008 +0100
+++ b/mercurial/revlog.py	Fri Mar 14 20:01:50 2008 -0300
@@ -996,7 +996,6 @@
             e = self._io.packentry(self.index[i], self.node, self.version, i)
             fp.write(e)
 
-        fp.close()
         # if we don't call rename, the temp file will never replace the
         # real index
         fp.rename()