[Lldb-commits] [lldb] r130254 - /lldb/trunk/test/dotest.py
Johnny Chen
johnny.chen at apple.com
Tue Apr 26 16:10:52 PDT 2011
Author: johnny
Date: Tue Apr 26 18:10:51 2011
New Revision: 130254
URL: http://llvm.org/viewvc/llvm-project?rev=130254&view=rev
Log:
Docstring.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=130254&r1=130253&r2=130254&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Tue Apr 26 18:10:51 2011
@@ -24,11 +24,11 @@
import unittest2
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