summary refs log tree commit diff
path: root/synapse/app/synctl.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-04-30 17:21:21 +0100
committerMark Haines <mark.haines@matrix.org>2015-04-30 17:21:21 +0100
commit6ea9cf58be88678f6164f05b2eae5b3bdbc6c9f6 (patch)
treedbfb571bafd5d72feb16e43d478dbf7a3f76a184 /synapse/app/synctl.py
parentread the pid_file from the config file in synctl (diff)
downloadsynapse-6ea9cf58be88678f6164f05b2eae5b3bdbc6c9f6.tar.xz
missing import
Diffstat (limited to 'synapse/app/synctl.py')
-rwxr-xr-xsynapse/app/synctl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py
index 462dfb7d73..0a2b0d6fcd 100755
--- a/synapse/app/synctl.py
+++ b/synapse/app/synctl.py
@@ -18,6 +18,7 @@ import sys
 import os
 import subprocess
 import signal
+import yaml
 
 SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"]
 
@@ -29,6 +30,7 @@ NORMAL = "\x1b[m"
 CONFIG = yaml.load(open(CONFIGFILE))
 PIDFILE = CONFIG["pid_file"]
 
+
 def start():
     if not os.path.exists(CONFIGFILE):
         sys.stderr.write(