diff options
author | Éric Araujo <merwok@netwok.org> | 2010-11-06 06:00:54 +0000 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-11-06 06:00:54 +0000 |
commit | 45ee43be43dce8b81d338ed577a65f21da657b7d (patch) | |
tree | 57c21bc5face310b558b590906e1929035c3fe14 /Lib/distutils/util.py | |
parent | 2642ad07ee616c3374feee47354d1eba735b07eb (diff) | |
download | cpython-git-45ee43be43dce8b81d338ed577a65f21da657b7d.tar.gz |
Remove traces of Mac OS 9 support, again (#9508).
This was done in r80805 (#7908) and erroneously brought back by the
distutils revert. This commit removes more code than the original,
which was uncomplete. There is no NEWS entry, like in r80805.
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r-- | Lib/distutils/util.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 3081245b62..ce3cd6ca33 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -235,15 +235,6 @@ def change_root (new_root, pathname): path = path[1:] return os.path.join(new_root, path) - elif os.name == 'mac': - if not os.path.isabs(pathname): - return os.path.join(new_root, pathname) - else: - # Chop off volume name from start of path - elements = pathname.split(":", 1) - pathname = ":" + elements[1] - return os.path.join(new_root, pathname) - else: raise DistutilsPlatformError("nothing known about platform '%s'" % os.name) |