@@ -110,7 +110,7 @@ def list_mbeds_ext(self):
110
110
def list_mbeds (
111
111
self , fs_interaction = FSInteraction .BeforeFilter ,
112
112
filter_function = None , unique_names = False ,
113
- read_details_txt = None ):
113
+ read_details_txt = False ):
114
114
""" List details of connected devices
115
115
@return Returns list of structures with detailed info about each mbed
116
116
@param fs_interaction A member of the FSInteraction class that picks the
@@ -151,7 +151,6 @@ def list_mbeds(
151
151
platform_count [name ] += 1
152
152
device ['platform_name_unique' ] = (
153
153
"%s[%d]" % (name , platform_count [name ]))
154
-
155
154
try :
156
155
device .update (self .retarget_data [device ['target_id' ]])
157
156
logger .debug ("retargeting %s with %r" ,
@@ -188,7 +187,6 @@ def _fs_before_id_check(self, device, filter_function, read_details_txt):
188
187
return None
189
188
190
189
def _fs_after_id_check (self , device , filter_function , read_details_txt ):
191
-
192
190
"""Filter device before touching the file system of the device.
193
191
Said another way: Touch the file system after filtering
194
192
"""
@@ -249,11 +247,9 @@ def _update_device_details_daplink(self, device, read_details_txt):
249
247
else :
250
248
device ['platform_name' ] = None
251
249
252
- def _update_device_details_jlink (self , device , read_details_txt ):
250
+ def _update_device_details_jlink (self , device , _ ):
253
251
""" Updates the jlink-specific device information based on files from its 'mount_point'
254
252
@param device Dictionary containing device information
255
- @param read_details_txt A boolean controlling the presense of the
256
- output dict attributes read from other files present on the 'mount_point'
257
253
"""
258
254
files = os .listdir (device ['mount_point' ])
259
255
lower_case_map = {f .lower (): f for f in files }
0 commit comments