fixed problem with iterator in template.py
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.00.1 (2012-08-29 15:13:07) rc4
|
||||
Version 2.00.1 (2012-08-29 15:42:48) rc4
|
||||
|
||||
@@ -177,7 +177,8 @@ class Content(BlockNode):
|
||||
if isinstance(other, (list, tuple)):
|
||||
# Must reverse so the order stays the same.
|
||||
other.reverse()
|
||||
(self._insert(item, index) for item in other)
|
||||
for item in other:
|
||||
self._insert(item, index)
|
||||
else:
|
||||
self._insert(other, index)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user