From: Wing Date: Fri, 16 May 2014 19:52:11 +0000 (+0800) Subject: Update environment.py X-Git-Tag: 2.8~93^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=115aa96261b29ac446abdfb74eb82e45998e3545;p=thirdparty%2Fjinja.git Update environment.py --- diff --git a/jinja2/environment.py b/jinja2/environment.py index 424335df..468ccc0a 100644 --- a/jinja2/environment.py +++ b/jinja2/environment.py @@ -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)