4430: fail to repair database

svn: r16605
This commit is contained in:
Michiel Nauta 2011-02-11 16:10:58 +00:00
parent 41d752a75b
commit 8af1f7e6f5

View File

@ -1354,7 +1354,8 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
except:
pass
finally:
cursor.close()
if 'cursor' in locals():
cursor.close()
def commit_base(self, obj, data_map, key, transaction, change_time):
"""