Skip to content

Commit 63e7f09

Browse files
authored
Merge pull request ARMmbed#10406 from j3hill/cmsis_fix
Modify CMSIS pack manager to properly handle OSError
2 parents 7392d51 + e54b3f7 commit 63e7f09

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)