From 14f1b3e8826ce43b978db93a62d1166055db5394 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:26:05 +0000 Subject: Vendor import of lldb trunk r290819: https://llvm.org/svn/llvm-project/lldb/trunk@290819 --- packages/Python/lldbsuite/support/fs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/Python/lldbsuite/support/fs.py') diff --git a/packages/Python/lldbsuite/support/fs.py b/packages/Python/lldbsuite/support/fs.py index 9a56808369def..30388596ea167 100644 --- a/packages/Python/lldbsuite/support/fs.py +++ b/packages/Python/lldbsuite/support/fs.py @@ -31,6 +31,7 @@ def _find_file_in_paths(paths, exe_basename): return os.path.normcase(trial_exe_path) return None + def find_executable(executable): """Finds the specified executable in the PATH or known good locations.""" @@ -59,6 +60,6 @@ def find_executable(executable): if not result or len(result) < 1: raise os.OSError( - "failed to find exe='%s' in paths='%s'" % (executable, paths_to_check)) + "failed to find exe='%s' in paths='%s'" % + (executable, paths_to_check)) return result - -- cgit v1.2.3