minor code refactoring

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2016-11-07 23:03:40 +01:00
parent 9606cfcfc1
commit e452c344d9
5 changed files with 18 additions and 11 deletions

View File

@ -91,7 +91,6 @@ class LocalStatusSQLiteFolder(BaseFolder):
if self.filename not in LocalStatusSQLiteFolder.locks:
LocalStatusSQLiteFolder.locks[self.filename] = DatabaseFileLock()
self._databaseFileLock = LocalStatusSQLiteFolder.locks[self.filename]
self._in_transactions = 0
def __enter__(self):