Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #75 from matrix-org/dont_write_bytecode
Browse files Browse the repository at this point in the history
Don't write bytecode
  • Loading branch information
erikjohnston committed Feb 17, 2015
2 parents c37e7e1 + ea1d6c1 commit 20e3172
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion synapse/app/homeserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -48,7 +51,6 @@
import logging
import os
import re
import sys
import sqlite3
import syweb

Expand Down
2 changes: 1 addition & 1 deletion synapse/app/synctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import subprocess
import signal

SYNAPSE = ["python", "-m", "synapse.app.homeserver"]
SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"]

CONFIGFILE = "homeserver.yaml"
PIDFILE = "homeserver.pid"
Expand Down

0 comments on commit 20e3172

Please sign in to comment.