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

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Sun Jul 11 21:17:41 CEST 2004


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

Modified Files:
      Tag: release23-maint
	posixpath.py 
Log Message:
Remove tabs introduced in last commit.


Index: posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.62.6.2
retrieving revision 1.62.6.3
diff -C2 -d -r1.62.6.2 -r1.62.6.3
*** posixpath.py	10 Jul 2004 22:58:31 -0000	1.62.6.2
--- posixpath.py	11 Jul 2004 19:17:38 -0000	1.62.6.3
***************
*** 410,414 ****
          component = join(*bits[0:i])
          # Resolve symbolic links.
! 	if islink(component):
              resolved = _resolve_link(component)
              if resolved is None:
--- 410,414 ----
          component = join(*bits[0:i])
          # Resolve symbolic links.
!         if islink(component):
              resolved = _resolve_link(component)
              if resolved is None:
***************
*** 429,438 ****
      paths_seen = []
      while islink(path):
! 	if path in paths_seen:
              # Already seen this path, so we must have a symlink loop
              return None
! 	paths_seen.append(path)
          # Resolve where the link points to
! 	resolved = os.readlink(path)
          if not abspath(resolved):
              dir = dirname(path)
--- 429,438 ----
      paths_seen = []
      while islink(path):
!         if path in paths_seen:
              # Already seen this path, so we must have a symlink loop
              return None
!         paths_seen.append(path)
          # Resolve where the link points to
!         resolved = os.readlink(path)
          if not abspath(resolved):
              dir = dirname(path)



More information about the Python-checkins mailing list