Removed skip_template argument of locmem.Loader.load_template_source.
It didn't do anything, wasn't documented and wasn't used anywhere.
This commit is contained in:
parent
c211c59b4a
commit
cd7146debe
|
@ -13,8 +13,7 @@ class Loader(BaseLoader):
|
||||||
def __init__(self, templates_dict):
|
def __init__(self, templates_dict):
|
||||||
self.templates_dict = templates_dict
|
self.templates_dict = templates_dict
|
||||||
|
|
||||||
def load_template_source(self, template_name, template_dirs=None,
|
def load_template_source(self, template_name, template_dirs=None):
|
||||||
skip_template=None):
|
|
||||||
try:
|
try:
|
||||||
return self.templates_dict[template_name], template_name
|
return self.templates_dict[template_name], template_name
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|
Loading…
Reference in New Issue