commit | f09597c1fdbeefb4cc5233f3fb607d117f81040b | [log] [tgz] |
---|---|---|
author | Sean Reifscheider <jafo@tummy.com> | Mon Sep 17 20:53:21 2007 +0000 |
committer | Sean Reifscheider <jafo@tummy.com> | Mon Sep 17 20:53:21 2007 +0000 |
tree | 355ce6483d311e308bde0ac8686e9a7f8a96b720 | |
parent | 6c398da0e79cbd68ec4625f00f37a8f2a0a26e5c [diff] [blame] |
issue1082: Fixing platform and system for Vista.
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 @@ 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