Skip to content

Commit fbe1eb3

Browse files
committed
Fix linter issues
1 parent 54ebf53 commit fbe1eb3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/isal/igzip_threaded.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import queue
1313
import struct
1414
import threading
15-
from typing import BinaryIO, List, Optional, Tuple
15+
from typing import List, Optional, Tuple
1616

1717
from . import igzip, isal_zlib
1818

@@ -56,7 +56,6 @@ def open(filename, mode="rb", compresslevel=igzip._COMPRESS_LEVEL_TRADEOFF,
5656
threads = multiprocessing.cpu_count()
5757
except: # noqa: E722
5858
threads = 1
59-
open_mode = mode.replace("t", "b")
6059
if "r" in mode:
6160
gzip_file = io.BufferedReader(
6261
_ThreadedGzipReader(filename, block_size=block_size))

0 commit comments

Comments
 (0)