summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/support/fs.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /packages/Python/lldbsuite/support/fs.py
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/support/fs.py')
-rw-r--r--packages/Python/lldbsuite/support/fs.py5
1 files changed, 3 insertions, 2 deletions
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
-