Roumen Petrov's fix for when all paths are absolute. (Issue 10520)

This commit is contained in:
Barry Warsaw 2010-11-27 20:03:03 +00:00
parent 30b341f1a5
commit 34520cdcf4
1 changed files with 2 additions and 1 deletions

View File

@ -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():
"""