forked from colonelpanic/dotfiles
auto-switch tweaks.
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
],
|
||||
"formulas": [
|
||||
"ack",
|
||||
"ag",
|
||||
"ant",
|
||||
"autoconf",
|
||||
"automake",
|
||||
@@ -114,6 +113,7 @@
|
||||
"sleuthkit",
|
||||
"sqlite",
|
||||
"subversion",
|
||||
"the_silver_searcher",
|
||||
"tig",
|
||||
"tmux",
|
||||
"unzip",
|
||||
|
Submodule dotfiles/emacs.d updated: 5759aa7ec6...beb7e30fad
@@ -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")
|
||||
|
Reference in New Issue
Block a user