mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-17 07:53:42 -05:00
no need to import print_function in this case
This commit is contained in:
@@ -36,7 +36,7 @@ virtualenv_version() {
|
||||
virtualenv_origin() {
|
||||
local version="$1"
|
||||
local prefix="$(pyenv-prefix "${version}")"
|
||||
local origin="$("${prefix}/bin/python" -c 'from __future__ import print_function;import sys;print(sys.real_prefix)' 2>/dev/null || true)"
|
||||
local origin="$("${prefix}/bin/python" -c 'import sys;print(sys.real_prefix)' 2>/dev/null || true)"
|
||||
echo "${origin:-unknown}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user