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

A.M. Kuchling akuchling@users.sourceforge.net
Tue, 27 Feb 2001 10:48:02 -0800


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

Modified Files:
	util.py 
Log Message:
Patch #404275: generate a reasonable platform string for AIX


Index: util.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/util.py,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** util.py	2001/01/28 12:23:32	1.59
--- util.py	2001/02/27 18:48:00	1.60
***************
*** 55,58 ****
--- 55,60 ----
      elif osname[:4] == "irix":              # could be "irix64"!
          return "%s-%s" % (osname, release)
+     elif osname[:3] == "aix":              
+         return "%s-%s.%s" % (osname, version, release)
      elif osname[:6] == "cygwin":
          rel_re = re.compile (r'[\d.]+')