forked from colonelpanic/dotfiles
auto-switch tweaks.
This commit is contained in:
parent
c28716eada
commit
e119bab555
@ -28,7 +28,6 @@
|
||||
],
|
||||
"formulas": [
|
||||
"ack",
|
||||
"ag",
|
||||
"ant",
|
||||
"autoconf",
|
||||
"automake",
|
||||
@ -114,6 +113,7 @@
|
||||
"sleuthkit",
|
||||
"sqlite",
|
||||
"subversion",
|
||||
"the_silver_searcher",
|
||||
"tig",
|
||||
"tmux",
|
||||
"unzip",
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 5759aa7ec6d5710d2b53cdbdaa231019d5099426
|
||||
Subproject commit beb7e30fad3d39882820a1d0164ff7fc45c24c10
|
@ -90,7 +90,15 @@ class OSXSSIDToRSSI(object):
|
||||
return get_stdout_from_command(['airport', '--scan', '--xml'])
|
||||
|
||||
def _get_scan_tree(self):
|
||||
return etree.fromstring(self._get_scan_xml())
|
||||
xml = self._get_scan_xml()
|
||||
for i in range(10):
|
||||
if xml:
|
||||
break
|
||||
xml = self._get_scan_xml()
|
||||
else:
|
||||
Exception("Airport command did not provide output.")
|
||||
return etree.fromstring(xml)
|
||||
|
||||
|
||||
_network_xpb = dxpb.array.dict
|
||||
_ssid_xpb = xpb.key.text_contains_("SSID_STR")
|
||||
|
Loading…
Reference in New Issue
Block a user