Commit Graph

10 Commits

Author SHA1 Message Date
shaun d3ce04ab10 move DB reset function to the databse file
use the new DB connection context for all DB reset actions
2016-11-05 11:15:28 +11:00
shaun a763cd37c9 use with to close cursor
use settings for isolation in connect
dont re raise the exception in the __exit__
2016-11-05 09:19:28 +11:00
angelblue05 9783b5aec2 Update database.py 2016-11-04 12:13:07 -05:00
angelblue05 e9fb760fa3 Only rollback for database locked
raise error for everything else, we should put in place a file that will
keep itemids we had to rollback on. To review later.
2016-11-04 06:45:39 -05:00
angelblue05 ee80e2c763 Only commit db when changes 2016-11-04 06:39:49 -05:00
angelblue05 4f7c63d5df Raise errors other than database is locked
Remove old code
2016-11-04 05:03:44 -05:00
angelblue05 e06f138d5d Update database.py 2016-11-04 01:28:02 -05:00
angelblue05 11af93ccc2 Update database commit 2016-11-03 23:45:37 -05:00
angelblue05 d0ea742904 Update database prep 2016-11-03 20:38:01 -05:00
angelblue05 df5d309dc5 Database prep 2016-11-03 20:36:05 -05:00