From 25fc6233bc518e814dd8d5e5cb701b5f86e210ea Mon Sep 17 00:00:00 2001 From: James Kasten Date: Mon, 13 Aug 2012 00:39:06 -0400 Subject: [PATCH] fix syntax error --- trustify/client/configurator.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/trustify/client/configurator.py b/trustify/client/configurator.py index c2edee0e6..ac45fb56b 100644 --- a/trustify/client/configurator.py +++ b/trustify/client/configurator.py @@ -522,11 +522,9 @@ class Configurator(object): """ try: # Use check_output so the command will finish before reloading - subprocess.check_call(["sudo", "a2enmod", "ssl"], stdout=open("/dev\ -/null", 'w'), stderr=open("/dev/null", 'w')) + subprocess.check_call(["sudo", "a2enmod", "ssl"], stdout=open("/dev/null", 'w'), stderr=open("/dev/null", 'w')) # Hopefully this waits for output - subprocess.check_call(["sudo", "/etc/init.d/apache2", "reload"], st\ -dout=open("/dev/null", 'w'), stderr=open("/dev/null", 'w')) + subprocess.check_call(["sudo", "/etc/init.d/apache2", "reload"], stdout=open("/dev/null", 'w'), stderr=open("/dev/null", 'w')) except: print "Error enabling mod_ssl" sys.exit(1)