Fixed #19729 -- Removed leftover refactoring helper variables.
Thanks chrismedrela for the report. Refs #6262,44b9076
and4d94c0c
.
This commit is contained in:
parent
5c70299a71
commit
826d9de00e
|
@ -61,5 +61,3 @@ class Loader(BaseLoader):
|
||||||
except IOError:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
raise TemplateDoesNotExist(template_name)
|
raise TemplateDoesNotExist(template_name)
|
||||||
|
|
||||||
_loader = Loader()
|
|
||||||
|
|
|
@ -31,5 +31,3 @@ class Loader(BaseLoader):
|
||||||
resource = resource.decode(settings.FILE_CHARSET)
|
resource = resource.decode(settings.FILE_CHARSET)
|
||||||
return (resource, 'egg:%s:%s' % (app, pkg_name))
|
return (resource, 'egg:%s:%s' % (app, pkg_name))
|
||||||
raise TemplateDoesNotExist(template_name)
|
raise TemplateDoesNotExist(template_name)
|
||||||
|
|
||||||
_loader = Loader()
|
|
||||||
|
|
|
@ -44,5 +44,3 @@ class Loader(BaseLoader):
|
||||||
error_msg = "Your TEMPLATE_DIRS setting is empty. Change it to point to at least one template directory."
|
error_msg = "Your TEMPLATE_DIRS setting is empty. Change it to point to at least one template directory."
|
||||||
raise TemplateDoesNotExist(error_msg)
|
raise TemplateDoesNotExist(error_msg)
|
||||||
load_template_source.is_usable = True
|
load_template_source.is_usable = True
|
||||||
|
|
||||||
_loader = Loader()
|
|
||||||
|
|
Loading…
Reference in New Issue