Mercurial > hg
comparison mercurial/changelog.py @ 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 | 63b9d2deed48 |
children | d1bee415406e |
comparison
equal
deleted
inserted
replaced
4953:6b3ed43f77ba | 4961:3fdd09ad6cce |
---|---|
40 def tell(self): | 40 def tell(self): |
41 return self.offset | 41 return self.offset |
42 def flush(self): | 42 def flush(self): |
43 pass | 43 pass |
44 def close(self): | 44 def close(self): |
45 close(self.fp) | 45 self.fp.close() |
46 | 46 |
47 def seek(self, offset, whence=0): | 47 def seek(self, offset, whence=0): |
48 '''virtual file offset spans real file and data''' | 48 '''virtual file offset spans real file and data''' |
49 if whence == 0: | 49 if whence == 0: |
50 self.offset = offset | 50 self.offset = offset |