Skip to content

Commit 0663378

Browse files
j3hilladbridge
authored andcommitted
Update CMSIS pack manager to properly handle OSError
1 parent c5bfb6a commit 0663378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/arm_pack_manager/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
try:
2424
from cmsis_pack_manager import Cache as _Cache
2525
_CPM_PRESENT = True
26-
except ImportError:
26+
except (ImportError, OSError):
2727
_CPM_PRESENT = False
2828

2929
from tools.flash_algo import PackFlashAlgo

0 commit comments

Comments
 (0)