Skip to content

Commit aadcde0

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Install PyMySQL if used"
2 parents 008f42a + 0f63eb3 commit aadcde0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/databases/mysql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ function install_database_python_mysql {
165165
pip_install_gr $MYSQL_DRIVER
166166
if [[ "$MYSQL_DRIVER" == "MySQL-python" ]]; then
167167
ADDITIONAL_VENV_PACKAGES+=",MySQL-python"
168+
elif [[ "$MYSQL_DRIVER" == "PyMySQL" ]]; then
169+
ADDITIONAL_VENV_PACKAGES+=",PyMySQL"
168170
fi
169171
}
170172

0 commit comments

Comments
 (0)