Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit dfdf7bdc5e0c11143b3f11ddfa3dc755013ccbfb 1 parent 1e70426
@malcolmt malcolmt authored
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'):
Please sign in to comment.
Something went wrong with that request. Please try again.