summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/platform.py6
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