diff options
author | Barry Warsaw <barry@python.org> | 2010-11-27 20:03:03 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2010-11-27 20:03:03 (GMT) |
commit | 34520cdcf47d6af520f9baf719bf14e49afddbf7 (patch) | |
tree | efe2bbfd22f0d7bbfce22d29ec04a4db226e6457 /setup.py | |
parent | 30b341f1a57c33197a17acae95b8ce540407ce1c (diff) | |
download | cpython-34520cdcf47d6af520f9baf719bf14e49afddbf7.zip cpython-34520cdcf47d6af520f9baf719bf14e49afddbf7.tar.gz cpython-34520cdcf47d6af520f9baf719bf14e49afddbf7.tar.bz2 |
Roumen Petrov's fix for when all paths are absolute. (Issue 10520)
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(): """ |