Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2645 -- Fixed format-string error in exception call in templat…

…e/__init__.py. Thanks for the patch, md@hudora.de

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cba5557c7a547d7e0f947b91610223643e85c572 1 parent 8e52384
Adrian Holovaty authored September 05, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/template/__init__.py
2  django/template/__init__.py
@@ -435,7 +435,7 @@ def value(self):
435 435
             while i < len(subject) and subject[i] != subject[p]:
436 436
                 i += 1
437 437
             if i >= len(subject):
438  
-                raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % subject
  438
+                raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % (i, subject)
439 439
             i += 1
440 440
             res = subject[p:i]
441 441
             while i < len(subject) and subject[i] in (' ', '\t'):

0 notes on commit cba5557

Please sign in to comment.
Something went wrong with that request. Please try again.