[Python-checkins] python/dist/src/Lib/distutils util.py,1.65,1.65.6.1

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Tue, 13 Aug 2002 10:49:20 -0700


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

Modified Files:
      Tag: release22-maint
	util.py 
Log Message:
SF bug #574235, convert_path fails with empty pathname

Index: util.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/util.py,v
retrieving revision 1.65
retrieving revision 1.65.6.1
diff -C2 -d -r1.65 -r1.65.6.1
*** util.py	6 Dec 2001 20:51:35 -0000	1.65
--- util.py	13 Aug 2002 17:49:18 -0000	1.65.6.1
***************
*** 85,88 ****
--- 85,90 ----
      if os.sep == '/':
          return pathname
+     if not pathname:
+         return pathname
      if pathname[0] == '/':
          raise ValueError, "path '%s' cannot be absolute" % pathname