[pypy-svn] pypy default: A controversial change - make this work in virtualenv

fijal commits-noreply at bitbucket.org
Wed Jan 26 12:25:16 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r41340:bde538437aae
Date: 2011-01-26 13:24 +0200
http://bitbucket.org/pypy/pypy/changeset/bde538437aae/

Log:	A controversial change - make this work in virtualenv

diff --git a/dotviewer/graphclient.py b/dotviewer/graphclient.py
--- a/dotviewer/graphclient.py
+++ b/dotviewer/graphclient.py
@@ -127,7 +127,7 @@
 
 def spawn_local_handler():
     if hasattr(sys, 'pypy_objspaceclass'):
-        python = 'python'
+        python = '/usr/bin/python'
     else:
         python = sys.executable
     args = [python, '-u', GRAPHSERVER, '--stdio']


More information about the Pypy-commit mailing list