def set_lineno(self, lineno, override=False):
        """Set the line numbers of the node and children."""
        todo = deque([self])
        while todo:
            node = todo.popleft()
            if 'lineno' in node.attributes:
                if node.lineno is None or override:
                    node.lineno = lineno
            todo.extend(node.iter_child_nodes())
        return self
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/nodes.py/Node.set_lineno/original