mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-09 04:56:12 +00:00
Fix compatibility issue with python2
This commit is contained in:
parent
7ab2aff7f2
commit
5e72d40c03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user