From a57bf4824ac2a7ad7eee20ecd8b9e9952f979881 Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Fri, 10 Aug 2012 18:24:54 -0700 Subject: [PATCH] where is the remaining output coming from? --- client-webserver/configurator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-webserver/configurator.py b/client-webserver/configurator.py index 92bf9773e..689bcf748 100644 --- a/client-webserver/configurator.py +++ b/client-webserver/configurator.py @@ -385,7 +385,7 @@ class Configurator(object): TODO: TEST """ # Use check_output so the command will finish before reloading the server - subprocess.check_output(["sudo", "a2enmod", "ssl"]) + subprocess.check_output(["sudo", "a2enmod", "ssl"], stderr=open("/dev/null","w")) subprocess.call(["sudo", "/etc/init.d/apache2", "reload"], stdout=open("/dev/null", "w"), stderr=open("/dev/null", "w")) """ a_conf = SERVER_ROOT + "mods-available/ssl.conf"