Skip to content

Commit b5377ae

Browse files
committed
nope
1 parent e995f25 commit b5377ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/utils/glibc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def glibc_version_string_confstr() -> Optional[str]:
2222
return None
2323
# os.confstr("CS_GNU_LIBC_VERSION") returns a string like "glibc 2.17":
2424
_, version = gnu_libc_version.split()
25-
except (OSError, ValueError):
25+
except (AttributeError, OSError, ValueError):
2626
# os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)...
2727
return None
2828
return version

0 commit comments

Comments
 (0)