diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
commit | 94f25283c9b6cb43791e23618b9bec0cc961a7cb (patch) | |
tree | c32622183a1e7020de5afb458288be48449a60a6 /Lib/distutils/util.py | |
parent | a045f191b4670bbf201d6d56a50886694c26da3e (diff) | |
download | cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.zip cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.gz cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.bz2 |
Remove traces of MacOS9 support.
Fix for issue #7908
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 8fd2ca0..c8bf006 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -91,15 +91,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) |