SQLite: close db when done

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2016-04-09 19:52:33 +02:00
parent 1ba5e9160d
commit 6fb5700f94
5 changed files with 24 additions and 8 deletions

View File

@ -154,6 +154,9 @@ class LocalStatusFolder(BaseFolder):
self.readstatus(cachefd)
cachefd.close()
def closefiles(self):
pass # Closing files is done on a per-transaction basis.
def save(self):
"""Save changed data to disk. For this backend it is the same as saveall."""