From ab53c8209c050b7e99dcf8699410ee0e662f796a Mon Sep 17 00:00:00 2001 From: Nick Timkovich Date: Wed, 6 Feb 2019 13:55:58 -0600 Subject: [PATCH] Fix error formatting `+` has a lower precedence than the `.format`, so the formatting doesn't actually insert anything. Implicit string concatenation has higher (highest?) precedence. --- src/pip/_internal/commands/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/_internal/commands/install.py b/src/pip/_internal/commands/install.py index 1058a56d9..1c244d230 100644 --- a/src/pip/_internal/commands/install.py +++ b/src/pip/_internal/commands/install.py @@ -359,7 +359,7 @@ class InstallCommand(RequirementCommand): # so we fail here. if build_failures: raise InstallationError( - "Could not build wheels for {} which use" + + "Could not build wheels for {} which use" " PEP 517 and cannot be installed directly".format( ", ".join(r.name for r in build_failures)))