This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients sbt, vinay.sajip
Date 2012-07-15.19:02:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342378960.04.0.994385989883.issue15361@psf.upfronthosting.co.za>
In-reply-to
Content
If I create a venv on Windows called "py3" then py3/Scripts/Activate.ps1 defines the prompt to be

    function prompt {
        Write-Host -NoNewline -ForegroundColor Green [(py3) ]
        _OLD_VIRTUAL_PROMPT
    }

However this prompt function does not work properly, and running

    Write-Host -NoNewline -ForegroundColor Green [(py3) ]

on its own produces an error because of the lack of quotes around (py3).  Adding quotes as shown in the patch seems to fix the problem.
History
Date User Action Args
2012-07-15 19:02:40sbtsetrecipients: + sbt, vinay.sajip
2012-07-15 19:02:40sbtsetmessageid: <1342378960.04.0.994385989883.issue15361@psf.upfronthosting.co.za>
2012-07-15 19:02:39sbtlinkissue15361 messages
2012-07-15 19:02:38sbtcreate