Skip to content

Commit 2c23bbe

Browse files
authored
Use proper is_bz2file tests
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent bb795cc commit 2c23bbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/typecode/extractible.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def _is_compressed(location, opener):
6767
zipfile.is_zipfile,
6868
tarfile.is_tarfile,
6969
is_gzipfile,
70-
is_gzipfile,
70+
is_bz2file,
7171
is_lzmafile
7272
]
7373

0 commit comments

Comments
 (0)