2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 13:05:49 +00:00

Fix compatibility issue with python2

This commit is contained in:
Jarrod Johnson 2023-06-01 13:31:32 -04:00
parent 7ab2aff7f2
commit 5e72d40c03

View File

@ -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