Browse files

Fixed #4378 -- Fixed a broken format string.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 1e70426 commit dfdf7bdc5e0c11143b3f11ddfa3dc755013ccbfb @malcolmt malcolmt committed May 24, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/template/__init__.py
View
2 django/template/__init__.py
@@ -479,7 +479,7 @@ def value(self):
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'):

0 comments on commit dfdf7bd

Please sign in to comment.