svn: r5743
This commit is contained in:
Alex Roitman 2006-01-13 05:04:52 +00:00
parent bd4c6b5bcb
commit 96a4ba566e

View File

@ -264,7 +264,6 @@ class GrampsBSDDB(GrampsDbBase):
db.DB_INIT_LOG|db.DB_INIT_TXN|db.DB_RECOVER db.DB_INIT_LOG|db.DB_INIT_TXN|db.DB_RECOVER
self.undolog = "%s.undo" % name self.undolog = "%s.undo" % name
self.redolog = "%s.redo" % name
env_name = os.path.expanduser(const.bsddbenv_dir) env_name = os.path.expanduser(const.bsddbenv_dir)
if not os.path.isdir(env_name): if not os.path.isdir(env_name):
os.mkdir(env_name) os.mkdir(env_name)
@ -378,8 +377,6 @@ class GrampsBSDDB(GrampsDbBase):
self.undodb = db.DB() self.undodb = db.DB()
self.undodb.open(self.undolog, db.DB_RECNO, db.DB_CREATE) self.undodb.open(self.undolog, db.DB_RECNO, db.DB_CREATE)
self.redodb = db.DB()
self.redodb.open(self.redolog, db.DB_RECNO, db.DB_CREATE)
callback(0.5) callback(0.5)
self.metadata = self.open_table(self.full_name, "meta", no_txn=True) self.metadata = self.open_table(self.full_name, "meta", no_txn=True)