Remove traces of MacOS9 support.

Fix for issue #7908
This commit is contained in:
Ronald Oussoren 2010-05-05 19:11:21 +00:00
parent a045f191b4
commit 94f25283c9
20 changed files with 52 additions and 196 deletions

View file

@ -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)