syntax fix

This commit is contained in:
James Kasten 2013-05-23 22:25:47 -04:00
parent 402eadd208
commit 788e0c413a

View file

@ -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()