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:
Aymeric Augustin 2014-11-15 19:06:34 +01:00
parent c211c59b4a
commit cd7146debe
1 changed files with 1 additions and 2 deletions

View File

@ -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: