mirror of https://github.com/ARMmbed/mbed-os.git
Update CMSIS pack manager to properly handle OSError
parent
4401d41428
commit
e54b3f7cbe
|
@ -23,7 +23,7 @@ import warnings
|
|||
try:
|
||||
from cmsis_pack_manager import Cache as _Cache
|
||||
_CPM_PRESENT = True
|
||||
except ImportError:
|
||||
except (ImportError, OSError):
|
||||
_CPM_PRESENT = False
|
||||
|
||||
from tools.flash_algo import PackFlashAlgo
|
||||
|
|
Loading…
Reference in New Issue