Actions
Task #5318
closedavoid calling MySQLdb directly to connect when sinedon.cfg is read as input kwargs
Start date:
11/16/2017
Due date:
% Done:
0%
Estimated time:
Description
Use sinedon.sqldb.connect instead because we add more configuration in sinedon.cfg that should not go into MySQLdb.Connect
dbconfig = sinedon.getConfig('leginondata') dbconnect = MySQLdb.Connect(**dbconfig) dbconnect.autocommit(True)
Becomes
dbconfig = sinedon.getConfig('leginondata') dbconnect = sinedon.sqldb.connect(**dbconfig)
Updated by Anchi Cheng about 7 years ago
- Related to Task #5223: migrate sinedon to be compatible with InnoDB sql engine added
Updated by Anchi Cheng over 5 years ago
- Status changed from New to Closed
- Target version set to Appion/Leginon 3.4
Updated by Anchi Cheng over 5 years ago
- Target version changed from Appion/Leginon 3.4 to Appion/Leginon 3.3
Actions