From e9dcb067c16b79d0a76eface636f454ff3c32e37 Mon Sep 17 00:00:00 2001 From: Boulder Sprinters Date: Thu, 24 May 2007 15:06:56 +0000 Subject: [PATCH] boulder-oracle-sprint: Merged to [5334] git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5335 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/template/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/template/__init__.py b/django/template/__init__.py index 9811a5649d..4f2ddfc8b3 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -479,7 +479,7 @@ class TokenParser(object): while i < len(subject) and subject[i] != c: i += 1 if i >= len(subject): - raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % subject + raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % (i, subject) i += 1 s = subject[p:i] while i < len(subject) and subject[i] in (' ', '\t'):