Constraint = Constraint
Literal = Literal
- def __init__(self, host="localhost", user=None, passwd=None, *args, **kwargs):
+ def __init__(self, host="localhost", user="", passwd="", *args, **kwargs):
self._db_con = MySQLdb.connect(host=host, user=user, passwd=passwd)
self._db_con_autocommit = MySQLdb.connect(host=host, user=user, passwd=passwd)
super(Connection, self).__init__(*args, **kwargs)