Correct imports

This commit is contained in:
Andrew Morgan 2019-04-02 13:12:21 +01:00
parent d194e5daf5
commit 3adf15d357

View file

@ -21,12 +21,8 @@ from OpenSSL import SSL, crypto
from twisted.internet._sslverify import _defaultCurveName from twisted.internet._sslverify import _defaultCurveName
from twisted.internet.abstract import isIPAddress, isIPv6Address from twisted.internet.abstract import isIPAddress, isIPv6Address
from twisted.internet.interfaces import IOpenSSLClientConnectionCreator from twisted.internet.interfaces import IOpenSSLClientConnectionCreator
from twisted.internet.ssl import ( from twisted.internet.ssl import CertificateOptions, ContextFactory, platformTrust
CertificateOptions, from twisted.internet._sslverify import OpenSSLCertificateAuthorities
ContextFactory,
OpenSSLCertificateAuthorities,
platformTrust,
)
from twisted.python.failure import Failure from twisted.python.failure import Failure
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)