issue1082: Fixing system and platform names for Vista.

This commit is contained in:
Sean Reifscheider 2007-09-17 20:58:46 +00:00
parent 1644e6ebd1
commit e8dd31aa2e

View file

@ -1027,6 +1027,12 @@ def uname():
machine = ''
if processor == 'unknown':
processor = ''
# normalize name
if system == 'Microsoft' and release == 'Windows':
system = 'Windows'
release = 'Vista'
_uname_cache = system,node,release,version,machine,processor
return _uname_cache