mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-28 14:01:03 -05:00
Fix for stupid socket module problems.
This commit is contained in:
parent
73686aeb50
commit
00409b53da
@ -192,6 +192,11 @@ def split(s):
|
|||||||
csv.join = join
|
csv.join = join
|
||||||
csv.split = split
|
csv.split = split
|
||||||
|
|
||||||
|
import socket
|
||||||
|
# Some socket modules don't have sslerror, so we'll just make it an error.
|
||||||
|
if not hasattr(socket, 'sslerror'):
|
||||||
|
socket.sslerror = socket.error
|
||||||
|
|
||||||
for name in exported:
|
for name in exported:
|
||||||
__builtins__[name] = globals()[name]
|
__builtins__[name] = globals()[name]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user