Skip to content

Commit

Permalink
Fix strings in virtualenv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbrandwein authored and oz123 committed Oct 4, 2024
1 parent de555d1 commit f17eab0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pipenv/utils/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def abort(msg=""):
if not path_to_python and python is not None:
# We need to install Python.
err.print(
"[bold][red]Warning:[/red][/bold]"
f"Python [cyan]{python}[/cyan]"
"[bold][red]Warning:[/red][/bold] "
f"Python [cyan]{python}[/cyan] "
"was not found on your system..."
)
# check for python installers
Expand Down Expand Up @@ -261,8 +261,8 @@ def abort(msg=""):
except InstallerError as e:
abort(f"Something went wrong while installing Python:\n{e.err}")
s = (
"Would you like us to install",
f"[green]CPython {version}[/green]",
"Would you like us to install ",
f"[green]CPython {version}[/green] ",
f"with {installer}?",
)

Expand All @@ -272,7 +272,7 @@ def abort(msg=""):
else:
# Tell the user we're installing Python.
console.print(
"f[bold]Installing [green]CPython[/green] {version} with {installer.cmd}[/bold]"
f"[bold]Installing [green]CPython[/green] {version} with {installer.cmd}[/bold]"
)
console.print("(this may take a few minutes)[bold]...[/bold]")
with console.status(
Expand Down

0 comments on commit f17eab0

Please sign in to comment.