Commit d5e98fad authored by Sean Reifscheider's avatar Sean Reifscheider

issue1082: Fixing platform and system for Vista.

parent 38e0cad5
...@@ -1146,6 +1146,12 @@ def uname(): ...@@ -1146,6 +1146,12 @@ def uname():
machine = '' machine = ''
if processor == 'unknown': if processor == 'unknown':
processor = '' processor = ''
# normalize name
if system == 'Microsoft' and release == 'Windows':
system = 'Windows'
release = 'Vista'
_uname_cache = system,node,release,version,machine,processor _uname_cache = system,node,release,version,machine,processor
return _uname_cache return _uname_cache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment