We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70490c commit 0bb30fdCopy full SHA for 0bb30fd
pyocd/utility/compatibility.py
@@ -80,9 +80,9 @@ def byte_list_to_bytes(data):
80
81
# zipfile from Python 2 has a misspelled BadZipFile exception class.
82
try:
83
- from zipfile import BadZipFile
+ from zipfile import BadZipFile # lgtm[py/unused-import]
84
except ImportError:
85
- from zipfile import BadZipfile as BadZipFile
+ from zipfile import BadZipfile as BadZipFile # lgtm[py/unused-import]
86
87
88
from shutil import get_terminal_size
0 commit comments