]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fixed typo in jinja2/loaders.py (#606)
authorMarcelo Jorge Vieira <metal@alucinados.com>
Fri, 2 Sep 2016 20:50:42 +0000 (17:50 -0300)
committerDavid Lord <davidism@gmail.com>
Fri, 2 Sep 2016 20:50:42 +0000 (13:50 -0700)
Replaced 'fileame' with 'filename'

jinja2/loaders.py

index 44aa3925a2d11eb037de0ebab3378f126da12dc8..70882f5e4c205ad1fa1889a0537b14ef11036dd8 100644 (file)
@@ -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)