add rollback to release locks (we should create a set transaction read_only method in fpdb_db)

This commit is contained in:
sqlcoder 2009-05-21 11:23:50 +01:00
parent 399bfd98c6
commit 828b23510f

View File

@ -235,6 +235,8 @@ class Importer:
self.addToDirList = {} self.addToDirList = {}
self.removeFromFileList = {} self.removeFromFileList = {}
self.fdb.db.rollback()
# This is now an internal function that should not be called directly. # This is now an internal function that should not be called directly.
def import_file_dict(self, file, site, filter): def import_file_dict(self, file, site, filter):