test-suite: fix python helper function var name
@@ -45,12 +45,12 @@ check_exe() {
# export python family variables
get_python_vars() {
local __python_family=$1
- if [ "x$__python" == "xpython2" ]; then
+ if [ "x$__python_family" == "xpython2" ]; then
export _python=python
export python_module_prefix=py2
export python_package_prefix=python
fi
- if [ "x$__python" == "xpython3" ]; then
+ if [ "x$__python_family" == "xpython3" ]; then
export _python=python3.4
export python_package_prefix=py3
if [ "x$DISTRO_FAMILY" == "xCentOS" -o "x$DISTRO_FAMILY" == "xRHEL" ];then
