''

def insert_info(self):

    read_obj = open(self.__file, 'r')
    self.__write_obj = open(self.__write_to, 'w')
    line_to_read = 1
    while line_to_read:
        line_to_read = read_obj.readline()
        line = line_to_read
        if (line == 'mi<mk<tabl-start\n'):
            if (len(self.__table_data) > 0):
                table_dict = self.__table_data[0]
                self.__write_obj.write('mi<tg<open-att__<table')
                keys = table_dict.keys()
                for key in keys:
                    self.__write_obj.write(('<%s>%s' % (key, table_dict[key])))
                self.__write_obj.write('\n')
                self.__table_data = self.__table_data[1:]
            else:
                if (self.__run_level > 3):
                    msg = 'Not    enough    data    for    each    table\n'
                    raise self.__bug_handler, msg
                self.__write_obj.write('mi<tg<open______<table\n')
        elif (line == 'mi<mk<table-end_\n'):
            self.__write_obj.write('mi<tg<close_____<table\n')
        self.__write_obj.write(line)
    read_obj.close()
    self.__write_obj.close()
    copy_obj = copy.Copy(bug_handler=self.__bug_handler)
    if self.__copy:
        copy_obj.copy_file(self.__write_to, 'table_info.data')
    copy_obj.rename(self.__write_to, self.__file)
    os.remove(self.__write_to)
