- if isinstance(node, BlockNode):
- #if nodelist == self.nodes: Necessary?
- self.blocks[node.name] = block = LazyContainerFinder(node.nodelist)
- if block.nodes.get_nodes_by_type(BlockNode): # Is this faster?
- block.initialize()
- self.blocks.update(block.blocks)
- continue
-
- if isinstance(node, ExtendsNode):
- continue
-