Commits

Yann Malet committed ea8cd2a

Remove a duplicate call to "cherokee -C config.conf -t" where I was not capturing the stderr

Comments (0)

Files changed (1)

cherokee_admin_api/__init__.py

 
 def is_valid_config(config_file):
     args = shlex.split("cherokee -C %s -t" %config_file)
-    validation_result = subprocess.call(args)
     proc = subprocess.Popen(args,
                             stdin=subprocess.PIPE,
                             stderr=subprocess.PIPE,