summary refs log tree commit diff
path: root/synctl
diff options
context:
space:
mode:
authorJonathan de Jong <jonathan@automatia.nl>2021-02-26 19:30:54 +0100
committerGitHub <noreply@github.com>2021-02-26 18:30:54 +0000
commite12077a78afb8f0e7931a0930aebe5081023d5f9 (patch)
treef8b89e4e125cfdff4e92845408b65588a8690a21 /synctl
parentAdd support for no_proxy and case insensitive env variables (#9372) (diff)
downloadsynapse-e12077a78afb8f0e7931a0930aebe5081023d5f9.tar.xz
Allow bytecode again (#9502)
In #75, bytecode was disabled (from a bit of FUD back in `python<2.4` days, according to dev chat), I think it's safe enough to enable it again.

Added in `__pycache__/` and `.pyc`/`.pyd` to `.gitignore`, to extra-insure compiled files don't get committed.

`Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
Diffstat (limited to '')
-rwxr-xr-xsynctl3
1 files changed, 1 insertions, 2 deletions
diff --git a/synctl b/synctl
index cfa9cec0c4..56c0e3940f 100755
--- a/synctl
+++ b/synctl
@@ -30,7 +30,7 @@ import yaml
 
 from synapse.config import find_config_files
 
-SYNAPSE = [sys.executable, "-B", "-m", "synapse.app.homeserver"]
+SYNAPSE = [sys.executable, "-m", "synapse.app.homeserver"]
 
 GREEN = "\x1b[1;32m"
 YELLOW = "\x1b[1;33m"
@@ -117,7 +117,6 @@ def start_worker(app: str, configfile: str, worker_configfile: str) -> bool:
 
     args = [
         sys.executable,
-        "-B",
         "-m",
         app,
         "-c",