Bugfix for list_templates in PackageLoader #39

Merged
merged 1 commit into from Jun 17, 2011

Projects

None yet

2 participants

@berg
Contributor
berg commented Jun 14, 2011

Hi,

First, thanks for Jinja2!

I was investigating pre-compiling my templates in an app that makes use of PackageLoader. It looks like _walk may have returned a list at some point, but that's no longer the case, so I changed it to just be called recursively.

Let me know if you'd like me to write a test or anything.

-Bryan

@mitsuhiko
Member

Looks good.

@mitsuhiko mitsuhiko merged commit a80d2f5 into pallets:master Jun 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment