add locked_file.flush()

This commit is contained in:
jakeogh 2018-12-29 01:17:24 -07:00
parent 8230a3575e
commit 1221873dcd
1 changed files with 3 additions and 0 deletions

View File

@ -3309,6 +3309,9 @@ class locked_file(object):
def read(self, *args):
return self.f.read(*args)
def flush(self, *args):
self.f.flush()
def close(self, *args):
self.__exit__(self, *args, value=False, traceback=False)