diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-05-20 22:30:10 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-05-20 22:30:10 (GMT) |
commit | 1eae2237e1f2e302e0061e13c2e03a54431005a9 (patch) | |
tree | 0c8f4c21e05fd70d05a534e4873116d6ff8c0d88 /Lib/venv | |
parent | de88c0d2f2d3cbaed1ba719c6db50da926487c70 (diff) | |
parent | e254751a63ef448570a73ba8ee5a3192a1bb7651 (diff) | |
download | cpython-1eae2237e1f2e302e0061e13c2e03a54431005a9.zip cpython-1eae2237e1f2e302e0061e13c2e03a54431005a9.tar.gz cpython-1eae2237e1f2e302e0061e13c2e03a54431005a9.tar.bz2 |
Closes #17744: Merged fix from 3.3.
Diffstat (limited to 'Lib/venv')
-rw-r--r-- | Lib/venv/scripts/nt/deactivate.bat | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Lib/venv/scripts/nt/deactivate.bat b/Lib/venv/scripts/nt/deactivate.bat index 62da5b1..313c079 100644 --- a/Lib/venv/scripts/nt/deactivate.bat +++ b/Lib/venv/scripts/nt/deactivate.bat @@ -1,17 +1,21 @@ @echo off
if defined _OLD_VIRTUAL_PROMPT (
- set PROMPT=%_OLD_VIRTUAL_PROMPT%
+ set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
)
set _OLD_VIRTUAL_PROMPT=
if defined _OLD_VIRTUAL_PYTHONHOME (
- set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%
- set _OLD_VIRTUAL_PYTHONHOME=
+ set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
+ set _OLD_VIRTUAL_PYTHONHOME=
)
-if defined _OLD_VIRTUAL_PATH set PATH=%_OLD_VIRTUAL_PATH%
+if defined _OLD_VIRTUAL_PATH (
+ set "PATH=%_OLD_VIRTUAL_PATH%"
+)
set _OLD_VIRTUAL_PATH=
+set VIRTUAL_ENV=
+
:END
|