2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-24 20:20:36 +00:00

Workaround older python lack of SSLEOFError

Older python does nat have this exception,
stub it out for older python.
This commit is contained in:
Jarrod Johnson
2019-02-11 11:00:47 -05:00
parent 5289d34206
commit e0877bc0b1

View File

@@ -37,6 +37,9 @@ ipmicommand = eventlet.import_patched('pyghmi.ipmi.command')
import socket
import ssl
if not hasattr(ssl, 'SSLEOFError'):
ssl.SSLEOFError = None
pci_cache = {}
def get_dns_txt(qstring):