fixed problem with iterator in template.py

This commit is contained in:
mdipierro
2012-08-29 15:42:51 -05:00
parent 9c98db6fa6
commit de88f3bde9
2 changed files with 3 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.00.1 (2012-08-29 15:13:07) rc4
Version 2.00.1 (2012-08-29 15:42:48) rc4

View File

@@ -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)