Kaydet (Commit) cd7146de authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Removed skip_template argument of locmem.Loader.load_template_source.

It didn't do anything, wasn't documented and wasn't used anywhere.
üst c211c59b
......@@ -13,8 +13,7 @@ class Loader(BaseLoader):
def __init__(self, templates_dict):
self.templates_dict = templates_dict
def load_template_source(self, template_name, template_dirs=None,
skip_template=None):
def load_template_source(self, template_name, template_dirs=None):
try:
return self.templates_dict[template_name], template_name
except KeyError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment