aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/wlantest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/wlantest.py')
-rw-r--r--tests/hwsim/wlantest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/wlantest.py b/tests/hwsim/wlantest.py
index 10bb45f..75dcdb5 100644
--- a/tests/hwsim/wlantest.py
+++ b/tests/hwsim/wlantest.py
@@ -142,7 +142,7 @@ class Wlantest:
def get_bss_counter(self, field, bssid):
try:
res = self.cli_cmd(["get_bss_counter", field, bssid])
- except Exception, e:
+ except Exception as e:
return 0
if "FAIL" in res:
return 0