[Python-checkins] python/dist/src/Lib posixpath.py,1.71,1.72

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Fri Aug 20 05:47:15 CEST 2004


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

Modified Files:
	posixpath.py 
Log Message:
Whitespace normalization.


Index: posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** posixpath.py	14 Aug 2004 15:01:53 -0000	1.71
--- posixpath.py	20 Aug 2004 03:47:13 -0000	1.72
***************
*** 405,409 ****
      else:
          bits = filename.split('/')
!         
      for i in range(2, len(bits)+1):
          component = join(*bits[0:i])
--- 405,409 ----
      else:
          bits = filename.split('/')
! 
      for i in range(2, len(bits)+1):
          component = join(*bits[0:i])
***************
*** 416,423 ****
              else:
                  newpath = join(*([resolved] + bits[i:]))
!                 return realpath(newpath)        
  
      return abspath(filename)
!     
  
  def _resolve_link(path):
--- 416,423 ----
              else:
                  newpath = join(*([resolved] + bits[i:]))
!                 return realpath(newpath)
  
      return abspath(filename)
! 
  
  def _resolve_link(path):



More information about the Python-checkins mailing list