From 7b819f0e917dadedb7cc9399d33fe7b5f9c63a9e Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sat, 22 Mar 2008 19:45:55 -0700 Subject: [PATCH] [project @ robey@lag.net-20080323024555-s95m60jycc8dt14q] bug 192749: document that SSHClient.connect may throw socket.error. --- paramiko/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/paramiko/client.py b/paramiko/client.py index 606c58f..33eab42 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: