mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 03:19:48 +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:
parent
5289d34206
commit
e0877bc0b1
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user