mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
fix bogus close spotted by pychecker (no close() in global scope)
This commit is contained in:
parent
afb05aff16
commit
8c722d66b2
@ -42,7 +42,7 @@ class appender:
|
||||
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'''
|
||||
|
Loading…
Reference in New Issue
Block a user