show-tool-versions.py: show platform.linux_distribution()

This commit is contained in:
david-sarah 2010-06-07 17:38:29 -07:00
parent 7092de1b6f
commit 1e70a8303f

View File

@ -8,6 +8,7 @@ def print_platform():
out = platform.platform()
print
print "platform:", out.replace("\n", " ")
print ', linux_distribution:', repr(platform.linux_distribution())
except EnvironmentError, le:
sys.stderr.write("Got exception using 'platform': %s\n" % (le,))
pass