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

Don't write bytecode #75

Merged
merged 1 commit into from
Feb 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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