diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/tarfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 26f9c7f..6f44146 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -353,6 +353,7 @@ class _Stream: if self.mode == "w" and self.buf: if self.type != "tar": self.buf += self.cmp.flush() + self.__write("") # Write remaining blocks to output self.fileobj.write(self.buf) self.buf = "" if self.type == "gz": |