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.
This commit is contained in:
Nick Timkovich 2019-02-06 13:55:58 -06:00 committed by Xavier Fernandez
parent e92560b597
commit ab53c8209c
1 changed files with 1 additions and 1 deletions

View File

@ -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)))