fix format of line
This commit is contained in:
parent
269bc0b7a3
commit
dcbc7d7203
|
@ -78,7 +78,7 @@ class fpdb_db:
|
||||||
if use_pool:
|
if use_pool:
|
||||||
MySQLdb = pool.manage(MySQLdb, pool_size=5)
|
MySQLdb = pool.manage(MySQLdb, pool_size=5)
|
||||||
# try:
|
# try:
|
||||||
self.db = MySQLdb.connect(host = host, user = user, passwd = password, db = database, use_unicode=True)
|
self.db = MySQLdb.connect(host=host, user=user, passwd=password, db=database, use_unicode=True)
|
||||||
#TODO: Add port option
|
#TODO: Add port option
|
||||||
# except:
|
# except:
|
||||||
# raise FpdbMySQLFailedError("MySQL connection failed")
|
# raise FpdbMySQLFailedError("MySQL connection failed")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user