[Python-checkins] python/dist/src/Lib posixpath.py,1.69,1.70

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Mon Aug 2 16:54:19 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23145

Modified Files:
	posixpath.py 
Log Message:
Use isabs() in conditional, not abspath

Index: posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** posixpath.py	18 Jul 2004 06:14:41 -0000	1.69
--- posixpath.py	2 Aug 2004 14:54:16 -0000	1.70
***************
*** 432,436 ****
          # Resolve where the link points to
          resolved = os.readlink(path)
!         if not abspath(resolved):
              dir = dirname(path)
              path = normpath(join(dir, resolved))
--- 432,436 ----
          # Resolve where the link points to
          resolved = os.readlink(path)
!         if not isabs(resolved):
              dir = dirname(path)
              path = normpath(join(dir, resolved))



More information about the Python-checkins mailing list