diff options
Diffstat (limited to 'src/facter.py')
| -rw-r--r-- | src/facter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/facter.py b/src/facter.py index 220cb3a..300e12f 100644 --- a/src/facter.py +++ b/src/facter.py @@ -19,6 +19,7 @@ def collect_facts(): with open(os.path.join(gv.builddir, "ccinfo"), "r") as ccinfo: gv.facts["cc"] = ccinfo.readlines()[-1][:-1] + # Copied from pip. # https://github.com/pypa/pip/blob/master/src/pip/_internal/utils/glibc.py # Licensed under MIT. @@ -46,6 +47,7 @@ def glibc_version_string(bin=None): return version_str + # platform.libc_ver regularly returns completely nonsensical glibc # versions. E.g. on my computer, platform says: # |
