Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[svn r3679] fix --python

--HG--
branch : trunk
  • Loading branch information...
commit 3cb9c499347d3dff2214908b1ce7900e0ef76a46 1 parent 4b334f4
ianb authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  docs/index.txt
  2. +1 −1  virtualenv.py
View
2  docs/index.txt
@@ -322,6 +322,8 @@ svn trunk
* Sometimes Cygwin seems to leave ``.exe`` off ``sys.executable``; a
workaround is added.
+* Fix ``--python`` option.
+
* Fixed handling of Jython environments that use a
jython-complete.jar.
View
2  virtualenv.py
@@ -374,7 +374,7 @@ def main():
file = __file__
if file.endswith('.pyc'):
file = file[:-1]
- os.execvpe(interpreter, [interpreter, __file__] + sys.argv[1:], env)
+ os.execvpe(interpreter, [interpreter, file] + sys.argv[1:], env)
if not args:
print 'You must provide a DEST_DIR'
Please sign in to comment.
Something went wrong with that request. Please try again.