def __init__(self, pad, destination_path, build_flags=None):
        self.build_flags = process_build_flags(build_flags)
        self.pad = pad
        self.destination_path = os.path.abspath(os.path.join(
            pad.db.env.root_path, destination_path))
        self.meta_path = os.path.join(self.destination_path, '.lektor')
        self.failure_controller = FailureController(pad, self.destination_path)

        try:
            os.makedirs(self.meta_path)
        except __HOLE__:
            pass

        con = self.connect_to_database()
        try:
            create_tables(con)
        finally:
            con.close()
dataset/ETHPy150Open lektor/lektor/lektor/builder.py/Builder.__init__