changeset 4961:3fdd09ad6cce

fix bogus close spotted by pychecker (no close() in global scope)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 20 Jul 2007 09:44:50 +0200
parents 6b3ed43f77ba
children 10afa3fab6b4
files mercurial/changelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changelog.py	Thu Jul 19 19:43:25 2007 -0300
+++ b/mercurial/changelog.py	Fri Jul 20 09:44:50 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'''