contrib/automation/hgautomation/ssh.py
changeset 52640 24ee91ba9aa8
parent 43076 2372284d9457
equal deleted inserted replaced
52639:9db77d46de79 52640:24ee91ba9aa8
    44                     allow_agent=False,
    44                     allow_agent=False,
    45                     look_for_keys=False,
    45                     look_for_keys=False,
    46                 )
    46                 )
    47 
    47 
    48                 return client
    48                 return client
    49             except socket.error:
    49             except OSError:
    50                 pass
    50                 pass
    51             except paramiko.AuthenticationException:
    51             except paramiko.AuthenticationException:
    52                 raise
    52                 raise
    53             except paramiko.SSHException:
    53             except paramiko.SSHException:
    54                 pass
    54                 pass