diff options
author | Barry Warsaw <barry@python.org> | 2010-11-27 20:03:03 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2010-11-27 20:03:03 +0000 |
commit | 37b1e68803462fa20b70360a4c7415a049f9a954 (patch) | |
tree | dd3af63545c3b714eef2d91cfb40ff17a565ec90 | |
parent | 6557c7e69cf92f53849b011509cbbd21bd0e80e5 (diff) | |
download | cpython-37b1e68803462fa20b70360a4c7415a049f9a954.tar.gz |
Roumen Petrov's fix for when all paths are absolute. (Issue 10520)
-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(): """ |