mirror of https://github.com/python/cpython
issue1082: Fixing platform and system for Vista.
This commit is contained in:
parent
6c398da0e7
commit
f09597c1fd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue