diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-17 17:29:55 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-17 17:29:55 +0000 |
commit | 20e3172f38c10e03bb66a782e17c30f42948f8e8 (patch) | |
tree | b5a2402b3423311337de73b770a25b758e3125f1 /synapse/app/homeserver.py | |
parent | Merge pull request #76 from matrix-org/consumeErrors (diff) | |
parent | Don't write bytecode (diff) | |
download | synapse-20e3172f38c10e03bb66a782e17c30f42948f8e8.tar.xz |
Merge pull request #75 from matrix-org/dont_write_bytecode
Don't write bytecode
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index f5681fac20..18585e87f2 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 @@ -48,7 +51,6 @@ import synapse import logging import os import re -import sys import sqlite3 import syweb |