fix silly exception message.

This commit is contained in:
Robey Pointer 2009-02-16 01:35:22 -08:00
parent 25417575ef
commit 5def112013
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pyc

2
README
View File

@ -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/

View File

@ -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):