Fixed loop.last to not consume the entire iterator to determine if this is
authorJason Kotenko <jason@milo.com>
Tue, 24 Jan 2012 22:19:08 +0000 (14:19 -0800)
committerJason Kotenko <jason@milo.com>
Tue, 24 Jan 2012 22:19:08 +0000 (14:19 -0800)
commit776567cc4e87f26ad57b52bb16c5462a281b4ca3
treef5954c70d87bc8272d27bd7a7e0f6ad49f63ef0a
parent5145401fe5f9995a32757f34359623b87048ab8b
Fixed loop.last to not consume the entire iterator to determine if this is
the last iteration of the loop.
jinja2/runtime.py