From: Marcelo Jorge Vieira Date: Fri, 2 Sep 2016 20:50:42 +0000 (-0300) Subject: Fixed typo in jinja2/loaders.py (#606) X-Git-Tag: 2.9~27^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=312cf9a1a17b14ef0ad7b93832445fcc3b5040d8;p=thirdparty%2Fjinja.git Fixed typo in jinja2/loaders.py (#606) Replaced 'fileame' with 'filename' --- diff --git a/jinja2/loaders.py b/jinja2/loaders.py index 44aa3925..70882f5e 100644 --- a/jinja2/loaders.py +++ b/jinja2/loaders.py @@ -351,7 +351,7 @@ class PrefixLoader(BaseLoader): try: return loader.get_source(environment, name) except TemplateNotFound: - # re-raise the exception with the correct fileame here. + # re-raise the exception with the correct filename here. # (the one that includes the prefix) raise TemplateNotFound(template) @@ -361,7 +361,7 @@ class PrefixLoader(BaseLoader): try: return loader.load(environment, local_name, globals) except TemplateNotFound: - # re-raise the exception with the correct fileame here. + # re-raise the exception with the correct filename here. # (the one that includes the prefix) raise TemplateNotFound(name)