Skip to content

Commit 4211775

Browse files
committed
remove the error code to silence ruff
1 parent b5a40ed commit 4211775

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
@@ -18,7 +18,7 @@ def glibc_version_string_confstr() -> Optional[str]:
1818
return None
1919
try:
2020
# os.confstr("CS_GNU_LIBC_VERSION") returns a string like "glibc 2.17":
21-
_, version = os.confstr("CS_GNU_LIBC_VERSION").split() # type: ignore[union-attr]
21+
_, version = os.confstr("CS_GNU_LIBC_VERSION").split() # type: ignore
2222
except (AttributeError, OSError, ValueError):
2323
# os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)...
2424
return None

0 commit comments

Comments
 (0)