1
0
Fork 0
mirror of https://github.com/SlavikMIPT/tgcloud.git synced 2025-03-09 15:40:14 +00:00

flush() has been removed

This commit is contained in:
Вячеслав Баженов 2019-07-10 11:37:24 +03:00
parent 89c4132b46
commit 44cceef636
2 changed files with 6 additions and 4 deletions

View file

@ -828,6 +828,8 @@ class DedupFS(fuse.Fuse): # {{{1
with open(FIFO_PIPE, 'wb') as pipe:
os.unlink(FIFO_PIPE)
pipe.write(self.compress(new_block))
# if callable(getattr(pipe, 'flush', None)):
# pipe.flush()
process.wait()
# self.blocks[digest] = self.compress(new_block)