Removed unneeded iter() call in IfNode.nodelist.
This commit is contained in:
parent
abaf0ab4a4
commit
f152678d36
|
@ -292,7 +292,7 @@ class IfNode(Node):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def nodelist(self):
|
def nodelist(self):
|
||||||
return NodeList(iter(self))
|
return NodeList(self)
|
||||||
|
|
||||||
def render(self, context):
|
def render(self, context):
|
||||||
for condition, nodelist in self.conditions_nodelists:
|
for condition, nodelist in self.conditions_nodelists:
|
||||||
|
|
Loading…
Reference in New Issue