diff options
author | schwarzichet <15522755+schwarzichet@users.noreply.github.com> | 2020-02-05 08:16:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 08:16:58 (GMT) |
commit | 787b6d548c250f36df6d3f3179f60d754c8aa5e3 (patch) | |
tree | 3398deb6fe9912c7e8c1537befa03e6722865876 /Lib/venv | |
parent | b439a715cb75e2663df32588fd004c7528b9f83b (diff) | |
download | cpython-787b6d548c250f36df6d3f3179f60d754c8aa5e3.zip cpython-787b6d548c250f36df6d3f3179f60d754c8aa5e3.tar.gz cpython-787b6d548c250f36df6d3f3179f60d754c8aa5e3.tar.bz2 |
bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290)
Diffstat (limited to 'Lib/venv')
-rw-r--r-- | Lib/venv/scripts/common/Activate.ps1 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/venv/scripts/common/Activate.ps1 b/Lib/venv/scripts/common/Activate.ps1 index 699c840..98cb1b8 100644 --- a/Lib/venv/scripts/common/Activate.ps1 +++ b/Lib/venv/scripts/common/Activate.ps1 @@ -168,7 +168,6 @@ if ($VenvDir) { } else { Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir." $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/") - $VenvDir = $VenvDir.Insert($VenvDir.Length, "/") Write-Verbose "VenvDir=$VenvDir" } |