def add_line(self, line):
if not self.is_valid_line(line):<EOL><INDENT>logger.warn(<EOL>"<STR_LIT>",<EOL>self.section_name, line<EOL>)<EOL>return<EOL><DEDENT>self.lines.append(line)<EOL>
Adds a given line string to the list of lines, validating the line
first.