contrib/automation/hgautomation/ssh.py
changeset 52640 24ee91ba9aa8
parent 43076 2372284d9457
--- a/contrib/automation/hgautomation/ssh.py	Mon Jan 06 14:15:40 2025 -0500
+++ b/contrib/automation/hgautomation/ssh.py	Sun Jan 05 21:03:17 2025 -0500
@@ -46,7 +46,7 @@
                 )
 
                 return client
-            except socket.error:
+            except OSError:
                 pass
             except paramiko.AuthenticationException:
                 raise