Removed template_cache attribute from cached template loader.

Unused since 5d8da093a9.
This commit is contained in:
Tom Forbes 2019-01-18 23:35:00 +00:00 committed by Tim Graham
parent 709a8b861d
commit 7eb4db8732
1 changed files with 0 additions and 2 deletions

View File

@ -14,7 +14,6 @@ from .base import Loader as BaseLoader
class Loader(BaseLoader):
def __init__(self, engine, loaders):
self.template_cache = {}
self.get_template_cache = {}
self.loaders = engine.get_template_loaders(loaders)
super().__init__(engine)
@ -90,5 +89,4 @@ class Loader(BaseLoader):
def reset(self):
"Empty the template cache."
self.template_cache.clear()
self.get_template_cache.clear()