Remove an old Py2.5-ism

This commit is contained in:
Jeff Forcier 2014-03-07 15:10:35 -08:00
parent 1b5332ead1
commit b29d018e36
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ class HostKeyEntry:
return None return None
except binascii.Error as e: except binascii.Error as e:
raise InvalidHostKey(line, sys.exc_info()[1]) raise InvalidHostKey(line, e)
return cls(names, key) return cls(names, key)
from_line = classmethod(from_line) from_line = classmethod(from_line)