Skip to content

Commit

Permalink
%-style to .format style string formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrahunt committed Sep 7, 2019
1 parent b0a7d2b commit 3da9a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pip/_internal/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,10 @@ def is_entrypoint_wrapper(name):
except MissingCallableSuffix as e:
entry = e.args[0]
raise InstallationError(
"Invalid script entry point: %s for req: %s - A callable "
"Invalid script entry point: {} for req: {} - A callable "
"suffix is required. Cf https://packaging.python.org/en/"
"latest/distributing.html#console-scripts for more "
"information." % (entry, req)
"information.".format(entry, req)
)

if warn_script_location:
Expand Down

0 comments on commit 3da9a89

Please sign in to comment.