[Lldb-commits] [lldb] r129707 - /lldb/trunk/test/lldbutil.py
Johnny Chen
johnny.chen at apple.com
Mon Apr 18 11:34:09 PDT 2011
Author: johnny
Date: Mon Apr 18 13:34:09 2011
New Revision: 129707
URL: http://llvm.org/viewvc/llvm-project?rev=129707&view=rev
Log:
Add docstring.
Modified:
lldb/trunk/test/lldbutil.py
Modified: lldb/trunk/test/lldbutil.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbutil.py?rev=129707&r1=129706&r2=129707&view=diff
==============================================================================
--- lldb/trunk/test/lldbutil.py (original)
+++ lldb/trunk/test/lldbutil.py Mon Apr 18 13:34:09 2011
@@ -9,8 +9,8 @@
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):
More information about the lldb-commits
mailing list