From 5e72d40c0311722ba8c4c5587b50ed4293d51f79 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 1 Jun 2023 13:31:32 -0400 Subject: [PATCH] Fix compatibility issue with python2 --- confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient b/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient index d2c49edb..fefc07b4 100644 --- a/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient +++ b/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient @@ -325,7 +325,7 @@ class HTTPSClient(client.HTTPConnection, object): foundsrv = host psock.close() break - except OSError: + except (OSError, socket.error): continue except ssl.SSLError: continue