fixed problem with iterator in template.py

This commit is contained in:
mdipierro committed 2012-08-29 15:42:51 -05:00
1 parent a9b780334f
commit ac100b7489
2 files changed
+3 -2

No files matched your search

+2 -1
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)