From 788e0c413a757e5ae2f378184ff592efdb9272ab Mon Sep 17 00:00:00 2001 From: James Kasten Date: Thu, 23 May 2013 22:25:47 -0400 Subject: [PATCH] syntax fix --- trustify/client/configurator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trustify/client/configurator.py b/trustify/client/configurator.py index 4a0f04852..ff12ac39b 100644 --- a/trustify/client/configurator.py +++ b/trustify/client/configurator.py @@ -1001,7 +1001,7 @@ LogLevel warn \n\ """ #TODO: This should be written to use the process returncode try: - p = subprocess.Popen(['/etc/init.d/apache2', 'restart'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + p = subprocess.Popen(['/etc/init.d/apache2', 'restart'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) text = p.communicate()