diff options
author | Robey Pointer <robey@lag.net> | 2006-07-23 13:41:16 -0700 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2006-07-23 13:41:16 -0700 |
commit | 55a52a09cce414b894c17000356367ad1403a189 (patch) | |
tree | 50cbe9944397b30a9b453045281e13435e222d6c /demos/demo.py | |
parent | ffcc22e784430acc7f67aa36e0104d8eca5f0c35 (diff) |
[project @ robey@lag.net-20060723204116-319c388eacb937d6]
fix SSHException references in demos
Diffstat (limited to 'demos/demo.py')
-rwxr-xr-x | demos/demo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/demo.py b/demos/demo.py index e5efc948..8b496d8e 100755 --- a/demos/demo.py +++ b/demos/demo.py @@ -50,7 +50,7 @@ def agent_auth(transport, username): transport.auth_publickey(username, key) print '... success!' return - except SSHException: + except paramiko.SSHException: print '... nope.' @@ -118,7 +118,7 @@ try: t = paramiko.Transport(sock) try: t.start_client() - except SSHException: + except paramiko.SSHException: print '*** SSH negotiation failed.' sys.exit(1) |