Skip to content
Myr

Merge branch '2.7-maintenance'

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

authored by Armin Ronacher · committed by Armin Ronacher · parents 8db4791, 701e9ad · Browse files · 2 files+8 added−1 removed
This commit

State

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

Diff stats

2 files+8 added−1 removed

  • other:+8 added−1 removed

2 files+8 added−1 removed

modified:jinja2/loaders.py+1 added-1 removed
347 unmodified lines
348 @internalcode349 def load(self, environment, name, globals=None):350 loader, local_name = self.get_loader(name)351 try:352 return loader.load(environment, local_name)352 return loader.load(environment, local_name, globals)353 except TemplateNotFound:354 # re-raise the exception with the correct fileame here.355 # (the one that includes the prefix)356 raise TemplateNotFound(name)
115 unmodified lines
modified:CHANGES+7 added
1Jinja2 Changelog2================34Version 2.7.25-------------6(bugfix release, release date to be decided)78- Prefix loader was not forwarding the locals properly to9 inner loaders. This is now fixed.1011Version 2.7.112-------------13(bugfix release, released on August 7th 2013)14
308 unmodified lines