Fix for groupby on tuple lists #40

Closed
wants to merge 1 commit into
from

Conversation

2 participants
@paradoxxxzero
Contributor

paradoxxxzero commented Jun 16, 2011

Before this commit: 9573b66#jinja2/filters.py
groupby worked on tuple list by specifying tuple index in groupby :

[("a", "foo"), ("b", "bar"), ("a", "baz")] | groupby(0)

Not trying to check '.' presence in non iterable fixes this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment