version: add system platform to versions report

Some platforms, such as Darwin, do not postitively identify the platform
name in any of the other system fields currently in the versions report.

Improves #21906.
This commit is contained in:
Justin Findlay 2016-03-01 14:00:55 -07:00
parent 66a2e5f52f
commit fabd39e6d5

View File

@ -608,6 +608,7 @@ def system_information():
return ' '.join(win_ver) return ' '.join(win_ver)
system = [ system = [
('platform', platform.system()),
('dist', ' '.join(platform.dist())), ('dist', ' '.join(platform.dist())),
('release', platform.release()), ('release', platform.release()),
('machine', platform.machine()), ('machine', platform.machine()),