File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2323 from plistlib import readPlistFromString as loads
2424from xml .parsers .expat import ExpatError
2525
26- from .lstools_base import MbedDetectLsToolsBase
26+ from .lstools_base import MbedLsToolsBase
2727
2828import logging
2929
@@ -108,12 +108,12 @@ def _dfs_usb_info(obj, parents):
108108 return output
109109
110110
111- class MbedLsToolsDarwin (MbedDetectLsToolsBase ):
111+ class MbedLsToolsDarwin (MbedLsToolsBase ):
112112 """ mbed-enabled platform detection on Mac OS X
113113 """
114114
115115 def __init__ (self , ** kwargs ):
116- MbedDetectLsToolsBase .__init__ (self , ** kwargs )
116+ MbedLsToolsBase .__init__ (self , ** kwargs )
117117 self .mac_version = float ("." .join (platform .mac_ver ()[0 ].split ("." )[:2 ]))
118118
119119 def find_candidates (self ):
Original file line number Diff line number Diff line change 1616import re
1717import os
1818
19- from .lstools_base import MbedDetectLsToolsBase
19+ from .lstools_base import MbedLsToolsBase
2020
2121import logging
2222
@@ -35,14 +35,14 @@ def _readlink(link):
3535 return content
3636
3737
38- class MbedLsToolsLinuxGeneric (MbedDetectLsToolsBase ):
38+ class MbedLsToolsLinuxGeneric (MbedLsToolsBase ):
3939 """ mbed-enabled platform for Linux with udev
4040 """
4141
4242 def __init__ (self , ** kwargs ):
4343 """! ctor
4444 """
45- MbedDetectLsToolsBase .__init__ (self , ** kwargs )
45+ MbedLsToolsBase .__init__ (self , ** kwargs )
4646 self .nlp = re .compile (r"(pci|usb)-[0-9a-zA-Z:_-]*_(?P<usbid>[0-9a-zA-Z]*)-.*$" )
4747 self .mmp = re .compile (r"(?P<dev>(/[^/ ]*)+) on (?P<dir>(/[^/ ]*)+) " )
4848 self .udp = re .compile (r"^[0-9]+-[0-9]+[^:\s]*$" )
Original file line number Diff line number Diff line change 1818from collections import defaultdict
1919from copy import copy
2020
21- from .lstools_base import MbedDetectLsToolsBase
21+ from .lstools_base import MbedLsToolsBase
2222
2323import logging
2424
@@ -245,12 +245,12 @@ class CompatibleIDsNotFoundException(Exception):
245245 pass
246246
247247
248- class MbedLsToolsWin7 (MbedDetectLsToolsBase ):
248+ class MbedLsToolsWin7 (MbedLsToolsBase ):
249249 """ mbed-enabled platform detection for Windows
250250 """
251251
252252 def __init__ (self , ** kwargs ):
253- MbedDetectLsToolsBase .__init__ (self , ** kwargs )
253+ MbedLsToolsBase .__init__ (self , ** kwargs )
254254 self .os_supported .append ("Windows7" )
255255
256256 def find_candidates (self ):
You can’t perform that action at this time.
0 commit comments