[Python-checkins] python/dist/src/Mac/Lib macostools.py,1.14,1.15

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Sat, 03 Aug 2002 13:49:12 -0700


Update of /cvsroot/python/python/dist/src/Mac/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv4670

Modified Files:
	macostools.py 
Log Message:
Mkdirs() failed when provided with unix pathnames. Fixed.


Index: macostools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/macostools.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** macostools.py	10 Mar 2002 19:28:02 -0000	1.14
--- macostools.py	3 Aug 2002 20:49:10 -0000	1.15
***************
*** 56,60 ****
  		return
  	head, tail = os.path.split(dst)
! 	if not ':' in head:
  		head = head + ':'
  	mkdirs(head)
--- 56,60 ----
  		return
  	head, tail = os.path.split(dst)
! 	if os.sep == ':' and not ':' in head:
  		head = head + ':'
  	mkdirs(head)