Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0b27c8

Browse files
committed
Merge pull request #6433 from Perados/frameworkpython-patch-1
DOC: Make the frameworkpython script compatible with Python 3
1 parent e1d8e60 commit e0b27c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/faq/virtualenv_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ implemented in a script as below. To use this modify ``PYVER`` and
100100
PYTHON=${PATHTOPYTHON}python${PYVER}
101101
102102
# find the root of the virtualenv, it should be the parent of the dir this script is in
103-
ENV=`$PYTHON -c "import os; print os.path.abspath(os.path.join(os.path.dirname(\"$0\"), '..'))"`
103+
ENV=`$PYTHON -c "import os; print(os.path.abspath(os.path.join(os.path.dirname(\"$0\"), '..')))"`
104104
105105
# now run Python with the virtualenv set as Python's HOME
106106
export PYTHONHOME=$ENV

0 commit comments

Comments
 (0)