fix bogus close spotted by pychecker (no close() in global scope)
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 20 Jul 2007 09:44:50 +0200
changeset 4961 3fdd09ad6cce
parent 4953 6b3ed43f77ba
child 4962 10afa3fab6b4
fix bogus close spotted by pychecker (no close() in global scope)
mercurial/changelog.py
--- 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'''