summaryrefslogtreecommitdiffstats
path: root/ipatests/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/util.py')
-rw-r--r--ipatests/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/util.py b/ipatests/util.py
index a8899cc6f..9b6eed7ad 100644
--- a/ipatests/util.py
+++ b/ipatests/util.py
@@ -361,7 +361,7 @@ def raises(exception, callback, *args, **kw):
raised = False
try:
callback(*args, **kw)
- except exception, e:
+ except exception as e:
raised = True
if not raised:
raise ExceptionNotRaised(exception)