summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-03-07 15:10:35 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-03-07 15:10:35 -0800
commitb29d018e367b9f19cf640bfa02080d8743b9d151 (patch)
tree1200ed94715bc4518c5cc65ae964a755f7bed8ad
parent1b5332ead1a97532eb3e864b5eafe260043cdc76 (diff)
Remove an old Py2.5-ism
-rw-r--r--paramiko/hostkeys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py
index 801bd50b..0141bb24 100644
--- a/paramiko/hostkeys.py
+++ b/paramiko/hostkeys.py
@@ -329,7 +329,7 @@ class HostKeyEntry:
return None
except binascii.Error as e:
- raise InvalidHostKey(line, sys.exc_info()[1])
+ raise InvalidHostKey(line, e)
return cls(names, key)
from_line = classmethod(from_line)