mercurial/changelog.py
changeset 4963 d1bee415406e
parent 4956 02b127749dc0
parent 4961 3fdd09ad6cce
child 5450 c728424d44c6
--- a/mercurial/changelog.py	Sat Jul 21 10:43:29 2007 +0200
+++ b/mercurial/changelog.py	Sat Jul 21 17:37:39 2007 +0200
@@ -42,7 +42,7 @@
     def flush(self):
         pass
     def close(self):
-        close(self.fp)
+        self.fp.close()
 
     def seek(self, offset, whence=0):
         '''virtual file offset spans real file and data'''