Fix random formatting
This commit is contained in:
parent
81a93ddcc8
commit
6485f03d91
|
@ -15,7 +15,6 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
sys.dont_write_bytecode = True
|
sys.dont_write_bytecode = True
|
||||||
from synapse.python_dependencies import check_requirements, DEPENDENCY_LINKS
|
from synapse.python_dependencies import check_requirements, DEPENDENCY_LINKS
|
||||||
|
|
||||||
|
|
|
@ -265,7 +265,8 @@ class WoefullyInsecureContextFactory(ssl.ContextFactory):
|
||||||
"""
|
"""
|
||||||
Factory for PyOpenSSL SSL contexts which does absolutely no certificate verification.
|
Factory for PyOpenSSL SSL contexts which does absolutely no certificate verification.
|
||||||
|
|
||||||
Do not use this unless you really, really hate your users."""
|
Do not use this unless you really, really hate your users.
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._context = SSL.Context(SSL.SSLv23_METHOD)
|
self._context = SSL.Context(SSL.SSLv23_METHOD)
|
||||||
|
|
Loading…
Reference in New Issue