Skip to content

Commit

Permalink
fix silly exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robey Pointer committed Feb 16, 2009
1 parent 2541757 commit 5def112
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pyc
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ paramiko
========

:Paramiko: Python SSH module
:Copyright: Copyright (c) 2003-2008 Robey Pointer <[email protected]>
:Copyright: Copyright (c) 2003-2009 Robey Pointer <[email protected]>
:License: LGPL
:Homepage: http://www.lag.net/paramiko/

Expand Down
2 changes: 1 addition & 1 deletion paramiko/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ def _verify_key(self, host_key, sig):
if key is None:
raise SSHException('Unknown host key type')
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

def _compute_key(self, id, nbytes):
Expand Down

0 comments on commit 5def112

Please sign in to comment.