From f09597c1fdbeefb4cc5233f3fb607d117f81040b Mon Sep 17 00:00:00 2001 From: Sean Reifscheider Date: Mon, 17 Sep 2007 20:53:21 +0000 Subject: issue1082: Fixing platform and system for Vista. --- Lib/platform.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12