Insert a new line

def insert_line(self, line):
        """Insert a new line"""
        if self.current_block is not None:
            self.current_block.append(line)
        else:
            self.header.append(line)