Commit 859fa97c by willmcgugan

Added a flush method to _TempWriteFile

parent 69aed4c7
...@@ -49,6 +49,9 @@ class _TempWriteFile(object): ...@@ -49,6 +49,9 @@ class _TempWriteFile(object):
def close(self): def close(self):
self._file.close() self._file.close()
self.close_callback(self.filename) self.close_callback(self.filename)
def flush(self):
self._file.flush()
class _ExceptionProxy(object): class _ExceptionProxy(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment