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