Skip to content

Commit 446a2ab

Browse files
committed
Un-f-string alternative wheel path glob
It was tripping the linters and became unnecessary after hardcoding the pip wheel filename prefix in the string.
1 parent 2979f2a commit 446a2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ensurepip/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _find_wheel_pkg_dir_pip():
2626
if _WHEEL_PKG_DIR is None:
2727
return None
2828

29-
dist_matching_wheels = _WHEEL_PKG_DIR.glob(f'pip-*.whl')
29+
dist_matching_wheels = _WHEEL_PKG_DIR.glob('pip-*.whl')
3030
try:
3131
last_matching_dist_wheel = sorted(dist_matching_wheels)[-1]
3232
except IndexError as index_err:

0 commit comments

Comments
 (0)