Skip to content

Commit

Permalink
Avoid unnecessary linebreak in long message
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Mar 31, 2022
1 parent e7a790a commit 7776a6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pip/_internal/cli/cmdoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,7 @@ def _handle_no_use_pep517(
# If user doesn't wish to use pep517, we check if setuptools is installed
# and raise error if it is not.
if not importlib.util.find_spec("setuptools"):
msg = """It is not possible to use --no-use-pep517 without setuptools
installed."""
msg = "It is not possible to use --no-use-pep517 without setuptools installed."
raise_option_error(parser, option=option, msg=msg)

# Otherwise, --no-use-pep517 was passed via the command-line.
Expand Down

0 comments on commit 7776a6d

Please sign in to comment.