diff options
author | Jesus Cea <jcea@jcea.es> | 2012-10-10 23:20:12 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-10-10 23:20:12 (GMT) |
commit | d17833d360a7e35675233c4310cbccbd19c9ca79 (patch) | |
tree | f0616a9a4cd16aef3952c6915049196c9c7853fe /Lib/distutils/util.py | |
parent | 9407d502085d0e3d281eb5274149ebca4567034c (diff) | |
download | cpython-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.py | 6 |
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) |