issue1082: Fixing platform and system for Vista.

This commit is contained in:
Sean Reifscheider 2007-09-17 20:53:21 +00:00
parent 6c398da0e7
commit f09597c1fd
1 changed files with 6 additions and 0 deletions

View File

@ -1146,6 +1146,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