]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Update environment.py
authorWing <SteelyWing@users.noreply.github.com>
Fri, 16 May 2014 19:52:11 +0000 (03:52 +0800)
committerWing <SteelyWing@users.noreply.github.com>
Fri, 16 May 2014 19:52:11 +0000 (03:52 +0800)
jinja2/environment.py

index 424335df659aad996a4391918ef6e9c9110a9955..468ccc0ab6ca2f5fc36ea44573bd40133e9842d2 100644 (file)
@@ -757,7 +757,7 @@ class Environment(object):
     def _load_template(self, name, globals):
         if self.loader is None:
             raise TypeError('no loader for this environment specified')
-        # use abs path to store cache
+        # use abs path for cache
         cache_key = self.loader.get_source(self, name)[1]
         if self.cache is not None:
             template = self.cache.get(cache_key)