summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-10 23:20:12 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-10 23:20:12 (GMT)
commitd17833d360a7e35675233c4310cbccbd19c9ca79 (patch)
treef0616a9a4cd16aef3952c6915049196c9c7853fe /Lib/distutils/util.py
parent9407d502085d0e3d281eb5274149ebca4567034c (diff)
downloadcpython-d17833d360a7e35675233c4310cbccbd19c9ca79.zip
cpython-d17833d360a7e35675233c4310cbccbd19c9ca79.tar.gz
cpython-d17833d360a7e35675233c4310cbccbd19c9ca79.tar.bz2
Closes #16135: Removal of OS/2 support (distutils)
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index 67d8166..ba09ac4 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -154,12 +154,6 @@ def change_root (new_root, pathname):
path = path[1:]
return os.path.join(new_root, path)
- elif os.name == 'os2':
- (drive, path) = os.path.splitdrive(pathname)
- if path[0] == os.sep:
- path = path[1:]
- return os.path.join(new_root, path)
-
else:
raise DistutilsPlatformError("nothing known about platform '%s'" % os.name)