Swapped .OSTYPE and .PLATFORM definitions.
1 parent 631bd2d commit 9ecab755a250ccc03b96212af6b2b261f7cb485f
@tundra tundra authored on 24 Apr 2004
Showing 2 changed files
View
6
tconfpy.3
.OSNAME - The name of the operating system in use.
 
.OSRELEASE - The version of the operating system in use.
 
.OSTYPE - Generic type of the operating system in use.
 
.PLATFORM - Generic name of the operating system in use.
.OSTYPE - Generic name of the operating system in use.
 
.PLATFORM - Generic type of the operating system in use.
 
.PYTHONVERSION - The version of Python in use.
.fi
.ft \" revert
View
6
tconfpy.py
 
# Program Information
 
PROGNAME = "tconfpy"
RCSID = "$Id: tconfpy.py,v 1.180 2004/04/17 19:09:53 tundra Exp $"
RCSID = "$Id: tconfpy.py,v 1.181 2004/04/24 19:08:28 tundra Exp $"
VERSION = RCSID.split()[2]
 
# Copyright Information
 
PREDEFINTRO + "MACHINENAME" : platform.node(),
PREDEFINTRO + "OSDETAILS" : platform.platform(),
PREDEFINTRO + "OSNAME" : platform.system(),
PREDEFINTRO + "OSRELEASE" : platform.release(),
PREDEFINTRO + "OSTYPE" : os.name,
PREDEFINTRO + "PLATFORM" : sysplat,
PREDEFINTRO + "OSTYPE" : sysplat,
PREDEFINTRO + "PLATFORM" : os.name,
PREDEFINTRO + "PYTHONVERSION" : platform.python_version()
}