Docstring changees.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130251 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lldbutil.py b/test/lldbutil.py
index e78925f..b4fbc59 100644
--- a/test/lldbutil.py
+++ b/test/lldbutil.py
@@ -6,11 +6,16 @@
import os, sys
import StringIO
+# ====================================================
+# Utilities for locating/checking executable programs.
+# ====================================================
+
def is_exe(fpath):
+ """Return true if fpath is an executable."""
return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
def which(program):
- """Find the full path to a program, or return None."""
+ """Find the full path to a program; return None otherwise."""
fpath, fname = os.path.split(program)
if fpath:
if is_exe(program):