##// END OF EJS Templates
templater: make it clearer that parsing doesn't cause recursion...
Yuya Nishihara -
r38371:e9cb13c5 default
parent child Browse files
Show More
@@ -665,12 +665,12 b' class engine(object):'
665 665 def _load(self, t):
666 666 '''load, parse, and cache a template'''
667 667 if t not in self._cache:
668 x = parse(self._loader(t))
669 if self._aliasmap:
670 x = _aliasrules.expand(self._aliasmap, x)
668 671 # put poison to cut recursion while compiling 't'
669 672 self._cache[t] = (_runrecursivesymbol, t)
670 673 try:
671 x = parse(self._loader(t))
672 if self._aliasmap:
673 x = _aliasrules.expand(self._aliasmap, x)
674 674 self._cache[t] = compileexp(x, self, methods)
675 675 except: # re-raises
676 676 del self._cache[t]
General Comments 0
You need to be logged in to leave comments. Login now