summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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