summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-05-24 15:06:56 +0000
committerBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-05-24 15:06:56 +0000
commite9dcb067c16b79d0a76eface636f454ff3c32e37 (patch)
tree7566fe3ef05a00bfec57f03beb096099ee2536b9
parent179a8c44bbe5deb80bd9ae2bc2ff65e3d0a71c03 (diff)
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
-rw-r--r--django/template/__init__.py2
1 files changed, 1 insertions, 1 deletions
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'):