Comment from Ma Lin: ae185f9#r54497564
I search pyzstd on GitHub (I'm the author of it), then I found this code.
The .close() method was updated. If super().close() fails, .zstd_file can be closed at once.
This is a very minor fix.
def close(self):
try:
super().close()
finally:
self.zstd_file.close()
in reference to
|
def close(self): # pragma: no cover |
|
super().close() |
|
self.zstd_file.close() |
Comment from Ma Lin: ae185f9#r54497564
in reference to
range-streams/src/range_streams/codecs/zstd/tar.py
Lines 25 to 27 in 052274a