Remove unused function using a python > 2.4 subprocess.check_output ##