fix silly exception message.
This commit is contained in:
parent
25417575ef
commit
5def112013
|
@ -0,0 +1 @@
|
||||||
|
*.pyc
|
2
README
2
README
|
@ -4,7 +4,7 @@ paramiko
|
||||||
========
|
========
|
||||||
|
|
||||||
:Paramiko: Python SSH module
|
:Paramiko: Python SSH module
|
||||||
:Copyright: Copyright (c) 2003-2008 Robey Pointer <robey@lag.net>
|
:Copyright: Copyright (c) 2003-2009 Robey Pointer <robey@lag.net>
|
||||||
:License: LGPL
|
:License: LGPL
|
||||||
:Homepage: http://www.lag.net/paramiko/
|
:Homepage: http://www.lag.net/paramiko/
|
||||||
|
|
||||||
|
|
|
@ -1423,7 +1423,7 @@ class Transport (threading.Thread):
|
||||||
if key is None:
|
if key is None:
|
||||||
raise SSHException('Unknown host key type')
|
raise SSHException('Unknown host key type')
|
||||||
if not key.verify_ssh_sig(self.H, Message(sig)):
|
if not key.verify_ssh_sig(self.H, Message(sig)):
|
||||||
raise SSHException('Signature verification (%s) failed. Boo. Robey should debug this.' % self.host_key_type)
|
raise SSHException('Signature verification (%s) failed.' % self.host_key_type)
|
||||||
self.host_key = key
|
self.host_key = key
|
||||||
|
|
||||||
def _compute_key(self, id, nbytes):
|
def _compute_key(self, id, nbytes):
|
||||||
|
|
Loading…
Reference in New Issue