Skip to content

Commit 4eef092

Browse files
GuyTuvaluranusjr
andauthored
Update src/pip/_internal/commands/uninstall.py
Remove usage of f-string in logging Co-authored-by: Tzu-ping Chung <[email protected]>
1 parent 27564d6 commit 4eef092

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pip/_internal/commands/uninstall.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ def run(self, options, args):
6666
reqs_to_uninstall[canonicalize_name(req.name)] = req
6767
else:
6868
logger.warning(
69-
f"Invalid requirement: '{name}' ignored -"
70-
f" the uninstall command expects named"
71-
f" requirements."
69+
"Invalid requirement: %r ignored -"
70+
" the uninstall command expects named"
71+
" requirements.",
72+
name,
7273
)
7374
for filename in options.requirements:
7475
for parsed_req in parse_requirements(

0 commit comments

Comments
 (0)