From f575a4edaadcf3941d44ed502d8a13337e922e9a Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 14 Oct 2005 22:29:13 +0000 Subject: [PATCH] Fixed small namespace bug in [867] git-svn-id: http://code.djangoproject.com/svn/django/trunk@872 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/template/loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/template/loader.py b/django/core/template/loader.py index 067b3fcfb8..20df897d71 100644 --- a/django/core/template/loader.py +++ b/django/core/template/loader.py @@ -42,9 +42,9 @@ def load_template_source(name, dirs=None): for loader in template_source_loaders: try: return loader(name, dirs) - except template.TemplateDoesNotExist: + except TemplateDoesNotExist: pass - raise template.TemplateDoesNotExist, name + raise TemplateDoesNotExist, name class ExtendsError(Exception): pass