diff options
Diffstat (limited to 'packages/Python/lldbsuite/support/fs.py')
| -rw-r--r-- | packages/Python/lldbsuite/support/fs.py | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/Python/lldbsuite/support/fs.py b/packages/Python/lldbsuite/support/fs.py index 9a56808369de..30388596ea16 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 -  | 
