summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-09-09 13:05:00 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-09-09 13:05:00 +0100
commit6485f03d91a5f96da28f9dcc8e9ebc3adb213f6f (patch)
tree27f9ec8af9c195fda68d9aa6ee9104808d345b12
parentAllow configuration to ignore invalid SSL certs (diff)
downloadsynapse-6485f03d91a5f96da28f9dcc8e9ebc3adb213f6f.tar.xz
Fix random formatting
-rwxr-xr-xsynapse/app/homeserver.py1
-rw-r--r--synapse/http/client.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py

index ba76ee362a..8e60304e29 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py
@@ -15,7 +15,6 @@ # limitations under the License. import sys - sys.dont_write_bytecode = True from synapse.python_dependencies import check_requirements, DEPENDENCY_LINKS diff --git a/synapse/http/client.py b/synapse/http/client.py
index da77c8b0ac..815a838729 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py
@@ -265,7 +265,8 @@ class WoefullyInsecureContextFactory(ssl.ContextFactory): """ 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): self._context = SSL.Context(SSL.SSLv23_METHOD)