From 6ea9cf58be88678f6164f05b2eae5b3bdbc6c9f6 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 30 Apr 2015 17:21:21 +0100 Subject: missing import --- synapse/app/synctl.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'synapse/app/synctl.py') 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( -- cgit 1.4.1