提交 3da9a89b 编写于 作者: C Chris Hunt

%-style to .format style string formatting.

上级 b0a7d2b5
...@@ -598,10 +598,10 @@ def move_wheel_files( ...@@ -598,10 +598,10 @@ def move_wheel_files(
except MissingCallableSuffix as e: except MissingCallableSuffix as e:
entry = e.args[0] entry = e.args[0]
raise InstallationError( 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/" "suffix is required. Cf https://packaging.python.org/en/"
"latest/distributing.html#console-scripts for more " "latest/distributing.html#console-scripts for more "
"information." % (entry, req) "information.".format(entry, req)
) )
if warn_script_location: if warn_script_location:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册