Skip to content
Myr

Merge pull request #39 from failberg/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Bugfix for list_templates in PackageLoader

authored by Armin Ronacher · committed by Armin Ronacher · parents 1655b4e, bd13945 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:jinja2/loaders.py+1 added-2 removed
249 unmodified lines
250 def _walk(path):251 for filename in self.provider.resource_listdir(path):252 fullname = path + '/' + filename253 if self.provider.resource_isdir(fullname):254 for item in _walk(fullname):255 results.append(item)254 _walk(fullname)255 else:256 results.append(fullname[offset:].lstrip('/'))257 _walk(path)258 results.sort()
192 unmodified lines