aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_ap_open.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/test_ap_open.py')
-rw-r--r--tests/hwsim/test_ap_open.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_ap_open.py b/tests/hwsim/test_ap_open.py
index de7c6d4..3907925 100644
--- a/tests/hwsim/test_ap_open.py
+++ b/tests/hwsim/test_ap_open.py
@@ -330,7 +330,7 @@ def _test_ap_open_wpas_in_bridge(dev, apdev):
try:
wpas.interface_add(ifname, br_ifname=br_ifname)
raise Exception("Interface addition succeeded unexpectedly")
- except Exception, e:
+ except Exception as e:
if "Failed to add" in str(e):
logger.info("Ignore expected interface_add failure due to missing bridge interface: " + str(e))
else: