Merge "Install PyMySQL if used"

This commit is contained in:
Jenkins 2015-06-12 18:36:50 +00:00 committed by Gerrit Code Review
commit aadcde06a2

View File

@ -165,6 +165,8 @@ function install_database_python_mysql {
pip_install_gr $MYSQL_DRIVER
if [[ "$MYSQL_DRIVER" == "MySQL-python" ]]; then
ADDITIONAL_VENV_PACKAGES+=",MySQL-python"
elif [[ "$MYSQL_DRIVER" == "PyMySQL" ]]; then
ADDITIONAL_VENV_PACKAGES+=",PyMySQL"
fi
}