aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-wifi/fix-iwlist-path.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-05 05:40:08 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-05 05:48:04 -0300
commitc676680b0a2b82dc7f8f6f07b23fcd6d249ccd80 (patch)
tree582e170c8bb984073074ad4a2e60fa6fc814e7ba /testing/py3-wifi/fix-iwlist-path.patch
parentb62268fb4fc25f656c1f6abd0db73e67bc1fb9c7 (diff)
downloadaports-c676680b0a2b82dc7f8f6f07b23fcd6d249ccd80.tar.bz2
aports-c676680b0a2b82dc7f8f6f07b23fcd6d249ccd80.tar.xz
testing/py3-wifi: upgrade to 0.3.8
Diffstat (limited to 'testing/py3-wifi/fix-iwlist-path.patch')
-rw-r--r--testing/py3-wifi/fix-iwlist-path.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/py3-wifi/fix-iwlist-path.patch b/testing/py3-wifi/fix-iwlist-path.patch
new file mode 100644
index 0000000000..dfdc602dde
--- /dev/null
+++ b/testing/py3-wifi/fix-iwlist-path.patch
@@ -0,0 +1,14 @@
+diff --git a/wifi/scan.py b/wifi/scan.py
+index 29f61ad..43f0af7 100644
+--- a/wifi/scan.py
++++ b/wifi/scan.py
+@@ -35,7 +35,7 @@ class Cell(object):
+ Returns a list of all cells extracted from the output of iwlist.
+ """
+ try:
+- iwlist_scan = subprocess.check_output(['/sbin/iwlist', interface, 'scan'],
++ iwlist_scan = subprocess.check_output(['/usr/sbin/iwlist', interface, 'scan'],
+ stderr=subprocess.STDOUT)
+ except subprocess.CalledProcessError as e:
+ raise InterfaceError(e.output.strip())
+