MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _dist_try_harder

Function _dist_try_harder

Lib/platform.py:194–242  ·  view source on GitHub ↗

Tries some special tricks to get the distribution information in case the default method fails. Currently supports older SuSE Linux, Caldera OpenLinux and Slackware Linux distributions.

(distname,version,id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

linux_distributionFunction · 0.85

Calls 8

splitMethod · 0.80
stripMethod · 0.80
openFunction · 0.70
existsMethod · 0.45
readlinesMethod · 0.45
isdirMethod · 0.45
listdirMethod · 0.45
sortMethod · 0.45

Tested by

no test coverage detected