def METHOD_NAME(self):
    import os.path
    path=os.path.join(self.homeDir,self.filename)
    d = db.DB()
    d.open(path, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666)
    dbs=db.DBSequence(d)
    d.close()  # This "close" should close the child DBSequence also
    dbs.close()  # If not closed, core dump (in Berkeley DB 4.6.*)