File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2424from os .path import isfile , join
2525from lockfile import LockFailed , LockTimeout
2626
27+
2728class MbedLsToolsBase :
2829 """ Base class for mbed-lstools, defines mbed-ls tools interface for mbed-enabled devices detection for various hosts
2930 """
@@ -37,6 +38,7 @@ def __init__(self):
3738
3839 # Create in HOME directory place for mbed-ls to store information
3940 self .mbedls_home_dir_init ()
41+ self .mbedls_get_mocks ()
4042
4143 # Which OSs are supported by this module
4244 # Note: more than one OS can be supported by mbed-lstools_* module
Original file line number Diff line number Diff line change @@ -170,9 +170,6 @@ def get_mbedls_version():
170170 mbeds .debug (__name__ , "mbed-ls ver. " + get_mbedls_version ())
171171 mbeds .debug (__name__ , "host: " + str ((mbed_lstools_os_info ())))
172172
173- # Load extra mock configuration
174- mbeds .mbedls_get_mocks ()
175-
176173 if not opts .skip_retarget :
177174 mbeds .retarget ()
178175
You can’t perform that action at this time.
0 commit comments