Skip to content
Myr

Fixed typo in jinja2/loaders.py (#606)

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

Replaced 'fileame' with 'filename'

authored by Marcelo Jorge Vieira · committed by David Lord · parent cfaec33 · Browse files · 1 file+2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:jinja2/loaders.py+2 added-2 removed
349 unmodified lines
350 loader, name = self.get_loader(template)351 try:352 return loader.get_source(environment, name)353 except TemplateNotFound:354 # re-raise the exception with the correct fileame here.354 # re-raise the exception with the correct filename here.355 # (the one that includes the prefix)356 raise TemplateNotFound(template)357358 @internalcode
1 unmodified line
360 loader, local_name = self.get_loader(name)361 try:362 return loader.load(environment, local_name, globals)363 except TemplateNotFound:364 # re-raise the exception with the correct fileame here.364 # re-raise the exception with the correct filename here.365 # (the one that includes the prefix)366 raise TemplateNotFound(name)367368 def list_templates(self):
113 unmodified lines