mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 12:44:30 +03:00
Correct imports
This commit is contained in:
parent
d194e5daf5
commit
3adf15d357
1 changed files with 2 additions and 6 deletions
|
@ -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__)
|
||||||
|
|
Loading…
Reference in a new issue