From 22b63bb5be66ed9fb3a52d24e0fb54bb97497b24 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 25 Jul 2006 18:54:13 +0000 Subject: [PATCH] Made correction to a comment in django/template/loader_tags.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@3450 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/template/loader_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/template/loader_tags.py b/django/template/loader_tags.py index a8e76a18445..f847ea123fa 100644 --- a/django/template/loader_tags.py +++ b/django/template/loader_tags.py @@ -125,7 +125,7 @@ def do_block(parser, token): if block_name in parser.__loaded_blocks: raise TemplateSyntaxError, "'%s' tag with name '%s' appears more than once" % (bits[0], block_name) parser.__loaded_blocks.append(block_name) - except AttributeError: # parser._loaded_blocks isn't a list yet + except AttributeError: # parser.__loaded_blocks isn't a list yet parser.__loaded_blocks = [block_name] nodelist = parser.parse(('endblock',)) parser.delete_first_token()