Update CMSIS pack manager to properly handle OSError

pull/10406/head
j3hill 2019-04-15 10:38:34 -05:00
parent 4401d41428
commit e54b3f7cbe
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import warnings
try: try:
from cmsis_pack_manager import Cache as _Cache from cmsis_pack_manager import Cache as _Cache
_CPM_PRESENT = True _CPM_PRESENT = True
except ImportError: except (ImportError, OSError):
_CPM_PRESENT = False _CPM_PRESENT = False
from tools.flash_algo import PackFlashAlgo from tools.flash_algo import PackFlashAlgo