More context:

            # Write bin/py for compatibility.  This is much like
            # env/bin/python, but if we just symlink to it and try to
            # execute it as bin/py then the virtualenv doesn't get
            # activated.  We use -S to avoid importing sitecustomize both
            # before and after the execv.
            py_header = LPScriptWriter.get_header("#!python -S")
            py_script_text = dedent("""\
                import os
                import sys

                os.execv(sys.executable, [sys.executable] + sys.argv[1:])
                """)
-- 
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/411449
Your team Launchpad code reviewers is requested to review the proposed merge of 
~jugmac00/launchpad:fix-typo into launchpad:master.


_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to