add rollback to release locks (we should create a set transaction read_only method in fpdb_db)
This commit is contained in:
parent
399bfd98c6
commit
828b23510f
|
@ -235,6 +235,8 @@ class Importer:
|
|||
|
||||
self.addToDirList = {}
|
||||
self.removeFromFileList = {}
|
||||
self.fdb.db.rollback()
|
||||
|
||||
|
||||
# This is now an internal function that should not be called directly.
|
||||
def import_file_dict(self, file, site, filter):
|
||||
|
|
Loading…
Reference in New Issue
Block a user