diff options
author | Robey Pointer <robey@lag.net> | 2008-03-22 19:45:55 -0700 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2008-03-22 19:45:55 -0700 |
commit | 7b819f0e917dadedb7cc9399d33fe7b5f9c63a9e (patch) | |
tree | 051ca34688b526fcf9c2d282cb108ad70e38c75c | |
parent | 50d63690eecc21896c1b210f5e097f854ed4571d (diff) |
[project @ robey@lag.net-20080323024555-s95m60jycc8dt14q]
bug 192749: document that SSHClient.connect may throw socket.error.
-rw-r--r-- | paramiko/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index 606c58fc..33eab422 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -271,6 +271,7 @@ class SSHClient (object): @raise AuthenticationException: if authentication failed @raise SSHException: if there was any other error connecting or establishing an SSH session + @raise socket.error: if a socket error occurred while connecting """ sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) if timeout is not None: |