summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index 2e417d9..3a4eaaf 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -1142,6 +1142,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