aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/hwsim_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/hwsim_utils.py')
-rw-r--r--tests/hwsim/hwsim_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/hwsim_utils.py b/tests/hwsim/hwsim_utils.py
index 718d53f..8ad08fc 100644
--- a/tests/hwsim/hwsim_utils.py
+++ b/tests/hwsim/hwsim_utils.py
@@ -198,7 +198,7 @@ def test_connectivity(dev1, dev2, dscp=None, tos=None, max_tries=1,
broadcast=broadcast, send_len=send_len)
success = True
break
- except Exception, e:
+ except Exception as e:
last_err = e
if i + 1 < max_tries:
time.sleep(1)