[Python-checkins] CVS: distutils/distutils util.py,1.39,1.40
Greg Ward
python-dev@python.org
Tue, 1 Aug 2000 17:37:36 -0700
Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv985
Modified Files:
util.py
Log Message:
Ditched 'abspath()' -- don't need 1.5.1 compatability hacks anymore.
Index: util.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/util.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** util.py 2000/07/27 02:13:19 1.39
--- util.py 2000/08/02 00:37:32 1.40
***************
*** 19,32 ****
- # 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):
--- 19,22 ----