[Lldb-commits] [lldb] r130253 - /lldb/trunk/test/lldbutil.py
Johnny Chen
johnny.chen at apple.com
Tue Apr 26 16:10:15 PDT 2011
Author: johnny
Date: Tue Apr 26 18:10:15 2011
New Revision: 130253
URL: http://llvm.org/viewvc/llvm-project?rev=130253&view=rev
Log:
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=130253&r1=130252&r2=130253&view=diff
==============================================================================
--- lldb/trunk/test/lldbutil.py (original)
+++ lldb/trunk/test/lldbutil.py Tue Apr 26 18:10:15 2011
@@ -11,11 +11,11 @@
# ===================================================
def is_exe(fpath):
- """Return true if fpath is an executable."""
+ """Returns 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; return None otherwise."""
+ """Returns the full path to a program; None otherwise."""
fpath, fname = os.path.split(program)
if fpath:
if is_exe(program):
More information about the lldb-commits
mailing list