From e8dd31aa2ed9d541992c7851f12ea8b3394357fa Mon Sep 17 00:00:00 2001 From: Sean Reifscheider Date: Mon, 17 Sep 2007 20:58:46 +0000 Subject: [PATCH] issue1082: Fixing system and platform names for Vista. --- Lib/platform.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Lib/platform.py b/Lib/platform.py index 288bc95619..2dcf5e1321 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -1027,6 +1027,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 -- 2.50.1