summaryrefslogtreecommitdiff
path: root/jinja2/loaders.py
diff options
context:
space:
mode:
Diffstat (limited to 'jinja2/loaders.py')
-rw-r--r--jinja2/loaders.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/jinja2/loaders.py b/jinja2/loaders.py
index b5817c7..feb4ff7 100644
--- a/jinja2/loaders.py
+++ b/jinja2/loaders.py
@@ -14,7 +14,7 @@ try:
except ImportError:
from sha import new as sha1
from jinja2.exceptions import TemplateNotFound
-from jinja2.utils import LRUCache, open_if_exists
+from jinja2.utils import LRUCache, open_if_exists, internalcode
def split_template_path(template):
@@ -79,6 +79,7 @@ class BaseLoader(object):
"""
raise TemplateNotFound(template)
+ @internalcode
def load(self, environment, name, globals=None):
"""Loads a template. This method looks up the template in the cache
or loads one by calling :meth:`get_source`. Subclasses should not