[Python-checkins] python/dist/src/Lib posixpath.py, 1.62.6.3, 1.62.6.4

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Mon Aug 2 16:57:49 CEST 2004


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

Modified Files:
      Tag: release23-maint
	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.62.6.3
retrieving revision 1.62.6.4
diff -C2 -d -r1.62.6.3 -r1.62.6.4
*** posixpath.py	11 Jul 2004 19:17:38 -0000	1.62.6.3
--- posixpath.py	2 Aug 2004 14:57:47 -0000	1.62.6.4
***************
*** 435,439 ****
          # Resolve where the link points to
          resolved = os.readlink(path)
!         if not abspath(resolved):
              dir = dirname(path)
              path = normpath(join(dir, resolved))
--- 435,439 ----
          # 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