python/virtualenv/virtualenv_embedded/deactivate.bat

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 @echo off
     3 set VIRTUAL_ENV=
     5 if defined _OLD_VIRTUAL_PROMPT (
     6     set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
     7 	set _OLD_VIRTUAL_PROMPT=
     8 )
    10 if defined _OLD_VIRTUAL_PYTHONHOME (
    11     set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
    12     set _OLD_VIRTUAL_PYTHONHOME=
    13 )
    15 if defined _OLD_VIRTUAL_PATH (
    16     set "PATH=%_OLD_VIRTUAL_PATH%"
    17 	set _OLD_VIRTUAL_PATH=
    18 )
    20 :END

mercurial