Skip to content

Commit

Permalink
Issue python#13545: Fix platform.libc_version() is the SO version is …
Browse files Browse the repository at this point in the history
…missing
  • Loading branch information
Victor Stinner committed Dec 15, 2011
1 parent 7158e06 commit 8744881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def libc_ver(executable=sys.executable,lib='',version='',
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
Expand Down

0 comments on commit 8744881

Please sign in to comment.