SourceBuilder: Don't perform stream flushing twice

stream.close() always perform flush by itself
This commit is contained in:
Dmitry D. Chernov 2017-05-10 02:41:00 +10:00 committed by Lonami
parent 5d66b4d554
commit 6baad93938

View File

@ -53,5 +53,4 @@ class SourceBuilder:
return self
def __exit__(self, exc_type, exc_val, exc_tb):
self.out_stream.flush()
self.out_stream.close()