[Python-checkins] CVS: python/dist/src/Lib/distutils util.py,1.63,1.64

A.M. Kuchling akuchling@users.sourceforge.net
Fri, 20 Jul 2001 12:29:06 -0700


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

Modified Files:
	util.py 
Log Message:
Patch #429442 from Jason Tishler: Corrects sys.platform and
    distutils.util.get_platform() problems caused by the cruft contained
    in Cygwin's uname -s.


Index: util.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/util.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -r1.63 -r1.64
*** util.py	2001/03/23 17:30:26	1.63
--- util.py	2001/07/20 19:29:04	1.64
***************
*** 63,66 ****
--- 63,67 ----
          return "%s-%s.%s" % (osname, version, release)
      elif osname[:6] == "cygwin":
+         osname = "cygwin"
          rel_re = re.compile (r'[\d.]+')
          m = rel_re.match(release)