catch pyssl import errors

This commit is contained in:
Mike McLean 2016-04-04 15:27:17 -04:00
parent 014e9aee4b
commit e5f582312d

View file

@ -49,7 +49,10 @@ import shutil
import signal
import socket
import ssl.SSLCommon
from ssl import ssl as pyssl
try:
from ssl import ssl as pyssl
except ImportError:
pass
import struct
import tempfile
import time