summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-18 18:34:09 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-18 18:34:09 +0000
commit238de9a8046fc2cb73b691306f470a2a6dcfcaab (patch)
tree799c4aa3bb248ec3e40e747cdb6e5a6e0c3f33e5
parent72f51aafe70bdae98ed5a3ce2673160c925eda45 (diff)
downloadbcm5719-llvm-238de9a8046fc2cb73b691306f470a2a6dcfcaab.tar.gz
bcm5719-llvm-238de9a8046fc2cb73b691306f470a2a6dcfcaab.zip
Add docstring.
llvm-svn: 129707
-rw-r--r--lldb/test/lldbutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbutil.py b/lldb/test/lldbutil.py
index 4c454fb2d21..66ec90b7e55 100644
--- a/lldb/test/lldbutil.py
+++ b/lldb/test/lldbutil.py
@@ -9,8 +9,8 @@ import StringIO
def is_exe(fpath):
return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
-# Find the full path to a program, or return None.
def which(program):
+ """Find the full path to a program, or return None."""
fpath, fname = os.path.split(program)
if fpath:
if is_exe(program):
OpenPOWER on IntegriCloud