Django

Code

Changeset 5333

Show
Ignore:
Timestamp:
05/24/07 07:28:53 (1 year ago)
Author:
mtredinnick
Message:

Fixed #4378 -- Fixed a broken format string.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/template/__init__.py

    r5167 r5333  
    480480                        i += 1 
    481481                    if i >= len(subject): 
    482                         raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % subject 
     482                        raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % (i, subject) 
    483483                i += 1 
    484484            s = subject[p:i]