summaryrefslogtreecommitdiff
path: root/Lib/venv
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-06-30 11:43:19 -0700
committerBrett Cannon <brett@python.org>2016-06-30 11:43:19 -0700
commit9e901219e007aef771d614cede8c7a75ecf21e5d (patch)
tree7a349d6dc414e55eb3c97a8880122b4324e4ffda /Lib/venv
parent2f2f2f185a4f0ab9075e486c9b629b61b74f1c6c (diff)
parentbcb1c5628d40185991f6fd1e2e0215883a631055 (diff)
downloadcpython-9e901219e007aef771d614cede8c7a75ecf21e5d.tar.gz
Merge from 3.5 for issue #26664
Diffstat (limited to 'Lib/venv')
-rw-r--r--Lib/venv/scripts/posix/activate.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/venv/scripts/posix/activate.fish b/Lib/venv/scripts/posix/activate.fish
index fb7f5c0db9..45391aa01c 100644
--- a/Lib/venv/scripts/posix/activate.fish
+++ b/Lib/venv/scripts/posix/activate.fish
@@ -55,8 +55,8 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
# with the original prompt function renamed, we can override with our own.
function fish_prompt
# Prompt override?
- if test -n "$__VENV_PROMPT__"
- printf "%s%s%s" "$__VENV_PROMPT__" (set_color normal) (_old_fish_prompt)
+ if test -n "__VENV_PROMPT__"
+ printf "%s%s%s" "__VENV_PROMPT__" (set_color normal) (_old_fish_prompt)
return
end
# ...Otherwise, prepend env