Skip to content

Commit 5dfd08b

Browse files
authored
Add files via upload
1 parent a471896 commit 5dfd08b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pyarchivefile.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9091,14 +9091,6 @@ def UncompressFileAlt(fp, formatspecs=__file_format_multi_dict__, filestart=0,
90919091
def UncompressFile(infile, formatspecs=__file_format_multi_dict__, mode="rb",
90929092
filestart=0, use_mmap=False):
90939093

9094-
# If caller already gave us a FileLikeAdapter => honor it and return it.
9095-
if isinstance(fp, FileLikeAdapter):
9096-
try:
9097-
fp.write_through = True
9098-
except Exception:
9099-
pass
9100-
return fp
9101-
91029094
"""
91039095
Opens a path, detects compression by header, and returns a FileLikeAdapter.
91049096
If uncompressed and use_mmap=True, returns an mmap-backed reader.

0 commit comments

Comments
 (0)