Change MySqlDB to pymysql

MySQL-python has GPL2 license. Apache license is not compatible with it. 
We propose to replace it with pymysql which has MIT license.

Change-Id: I8d758f5e4908c1047dc4167ebd28cad24fff3a28
This commit is contained in:
Michal Zielonka 2015-11-23 14:37:24 +01:00 committed by Witold Bedyk
parent 0e844a6135
commit 7a6aa181b9
2 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@
# under the License.
import logging
import MySQLdb as mdb
from oslo_config import cfg
import pymysql as mdb
from monasca_common.repositories import exceptions

View File

@ -2,6 +2,6 @@ iso8601
six>=1.7.0
kazoo>=2.0
kafka-python>=0.9.1,<0.9.3
MySQL-python>=1.2.3
PyMySQL>=0.6.7
oslo.config<2.5.0
pbr>=0.11,<2.0