summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-08-02 00:37:32 (GMT)
committerGreg Ward <gward@python.net>2000-08-02 00:37:32 (GMT)
commitbb56190422f50f9cc976f439facb82a0fd649775 (patch)
tree445d6d1914b8f72ad624602c780751c6fb619e11 /Lib/distutils/util.py
parentc6a18a5d65960dc2aef7bf163f74db635ffa033f (diff)
downloadcpython-bb56190422f50f9cc976f439facb82a0fd649775.zip
cpython-bb56190422f50f9cc976f439facb82a0fd649775.tar.gz
cpython-bb56190422f50f9cc976f439facb82a0fd649775.tar.bz2
Ditched 'abspath()' -- don't need 1.5.1 compatability hacks anymore.
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index 0bff3a5..d69626e 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -18,16 +18,6 @@ from distutils.dep_util import *
from distutils.archive_util import *
-# Need to define 'abspath()', because it was new with Python 1.5.2
-if hasattr (os.path, 'abspath'):
- abspath = os.path.abspath
-else:
- def abspath(path):
- if not os.path.isabs(path):
- path = os.path.join(os.getcwd(), path)
- return os.path.normpath(path)
-
-
# More backwards compatibility hacks
def extend (list, new_list):
"""Appends the list 'new_list' to 'list', just like the 'extend()'