mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Roumen Petrov's fix for when all paths are absolute. (Issue 10520)
This commit is contained in:
parent
30b341f1a5
commit
34520cdcf4
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
@ -38,7 +38,8 @@ def add_dir_to_list(dirlist, dir):
|
|||
for i, path in enumerate(dirlist):
|
||||
if not os.path.isabs(path):
|
||||
dirlist.insert(i + 1, dir)
|
||||
break
|
||||
return
|
||||
dirlist.insert(0, dir)
|
||||
|
||||
def macosx_sdk_root():
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue