mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01: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.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:
|
||||
__builtins__[name] = globals()[name]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user