commit | 87448819abd4900bcb36857c6706d8562c97a099 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Dec 15 21:42:03 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Dec 15 21:42:03 2011 +0100 |
tree | f122dc76d0f768c50b09165e011e60177b4171b6 | |
parent | 7158e0621280544165494100a0e04202032926bf [diff] [blame] |
Issue #13545: Fix platform.libc_version() is the SO version is missing
diff --git a/Lib/platform.py b/Lib/platform.py index 6e301da..e04bcb4 100755 --- a/Lib/platform.py +++ b/Lib/platform.py
@@ -181,7 +181,7 @@ elif so: if lib != 'glibc': lib = 'libc' - if soversion > version: + if soversion and soversion > version: version = soversion if threads and version[-len(threads):] != threads: version = version + threads