summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-17 17:30:11 +0000
committerErik Johnston <erik@matrix.org>2015-02-17 17:30:11 +0000
commit1177245e8617709c32adeeae67781d2940da9ffd (patch)
treebb232668b5b12d58d2a1a1834928ce5a2a6011e8 /synapse/app/homeserver.py
parentUse absolute path when loading delta sql files (diff)
parentMerge pull request #75 from matrix-org/dont_write_bytecode (diff)
downloadsynapse-1177245e8617709c32adeeae67781d2940da9ffd.tar.xz
Merge branch 'hotfixes-v0.7.0g' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 27b478a1c3..54a7b70b63 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -14,6 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+import sys
+sys.dont_write_bytecode = True
+
 from synapse.storage import prepare_database, UpgradeDatabaseException
 
 from synapse.server import HomeServer
@@ -49,7 +52,6 @@ import synapse
 import logging
 import os
 import re
-import sys
 import sqlite3
 import syweb