Removed the "test:" prefix from locmem template identifiers.

Since it isn't branded as a test utility any more and could be used for
other purposes than test code, that prefix no longer makes sense.

It wasn't used anywhere either.
This commit is contained in:
Aymeric Augustin 2014-11-15 18:35:53 +01:00
parent 2577ae6a08
commit c211c59b4a
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ class Loader(BaseLoader):
def load_template_source(self, template_name, template_dirs=None,
skip_template=None):
try:
return (self.templates_dict[template_name],
"test:%s" % template_name)
return self.templates_dict[template_name], template_name
except KeyError:
raise TemplateDoesNotExist(template_name)