Removed template_cache attribute from cached template loader.
Unused since 5d8da093a9
.
This commit is contained in:
parent
709a8b861d
commit
7eb4db8732
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue