mirror of
https://github.com/python/cpython.git
synced 2025-10-25 18:54:53 +00:00
getpath: fix warning typo (#126978)
This commit is contained in:
parent
4cd10762b0
commit
0063f5f314
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ def search_up(prefix, *landmarks, test=isfile):
|
||||||
# Only warn if the file actually exists and was unresolvable
|
# Only warn if the file actually exists and was unresolvable
|
||||||
# Otherwise users who specify a fake executable may get spurious warnings.
|
# Otherwise users who specify a fake executable may get spurious warnings.
|
||||||
if isfile(real_executable):
|
if isfile(real_executable):
|
||||||
warn(f'Failed to find real location of {base_executable}')
|
warn(f'Failed to find real location of {real_executable}')
|
||||||
|
|
||||||
if not executable_dir and os_name == 'darwin' and library:
|
if not executable_dir and os_name == 'darwin' and library:
|
||||||
# QUIRK: macOS checks adjacent to its library early
|
# QUIRK: macOS checks adjacent to its library early
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue