diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-02 12:05:40 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-02 12:05:40 +0100 |
commit | 86470139e06879c161526debb3f73c32f61f7272 (patch) | |
tree | a0ea7bc0a47fe7dd71bbe5654e53190f13515d69 /synapse | |
parent | Give MFA config access (diff) | |
download | synapse-86470139e06879c161526debb3f73c32f61f7272.tar.xz |
lint
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/crypto/context_factory.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py index 941ae7debc..687b6be961 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py @@ -21,7 +21,12 @@ from OpenSSL import SSL, crypto from twisted.internet._sslverify import _defaultCurveName from twisted.internet.abstract import isIPAddress, isIPv6Address from twisted.internet.interfaces import IOpenSSLClientConnectionCreator -from twisted.internet.ssl import CertificateOptions, ContextFactory, platformTrust, OpenSSLCertificateAuthorities +from twisted.internet.ssl import ( + CertificateOptions, + ContextFactory, + platformTrust, + OpenSSLCertificateAuthorities, +) from twisted.python.failure import Failure logger = logging.getLogger(__name__) |