diff options
author | Sean Reifscheider <jafo@tummy.com> | 2007-09-17 20:53:21 (GMT) |
---|---|---|
committer | Sean Reifscheider <jafo@tummy.com> | 2007-09-17 20:53:21 (GMT) |
commit | f09597c1fdbeefb4cc5233f3fb607d117f81040b (patch) | |
tree | 355ce6483d311e308bde0ac8686e9a7f8a96b720 /Lib/platform.py | |
parent | 6c398da0e79cbd68ec4625f00f37a8f2a0a26e5c (diff) | |
download | cpython-f09597c1fdbeefb4cc5233f3fb607d117f81040b.zip cpython-f09597c1fdbeefb4cc5233f3fb607d117f81040b.tar.gz cpython-f09597c1fdbeefb4cc5233f3fb607d117f81040b.tar.bz2 |
issue1082: Fixing platform and system for Vista.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index af8acfa..a860bf8 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -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 |