Reword active shell warning to reduce ambiguity (#5681)

* Reword active shell warning to reduce ambiguity

* Add change description to news/5681.trivial.rst
This commit is contained in:
Wes Lord
2023-05-19 16:36:45 -07:00
committed by GitHub
parent 639229f2f3
commit a6e6fa1c3c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Reword active shell warning to reduce ambiguity
+1 -1
View File
@@ -413,7 +413,7 @@ def shell(
venv_name = os.environ.get("VIRTUAL_ENV", "UNKNOWN_VIRTUAL_ENVIRONMENT")
if not anyway:
echo(
"{} {} {}\nNo action taken to avoid nested environments.".format(
"{} {} {}\nNew shell not activated to avoid nested environments.".format(
style("Shell for"),
style(venv_name, fg="green", bold=True),
style("already activated.", bold=True),