summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipapython/test_ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_ipapython/test_ssh.py')
-rw-r--r--ipatests/test_ipapython/test_ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_ipapython/test_ssh.py b/ipatests/test_ipapython/test_ssh.py
index db136a898..913ff8e6b 100644
--- a/ipatests/test_ipapython/test_ssh.py
+++ b/ipatests/test_ipapython/test_ssh.py
@@ -30,7 +30,7 @@ def make_public_key_checker(pk, out):
try:
parsed = ssh.SSHPublicKey(pk)
assert parsed.openssh() == out
- except Exception, e:
+ except Exception as e:
assert type(e) is out
check_public_key.description = "Test SSH public key parsing (%s)" % repr(pk)
return check_public_key