Django

Code

Changeset 3720

Show
Ignore:
Timestamp:
09/04/06 19:19:50 (2 years ago)
Author:
adrian
Message:

Fixed #2645 -- Fixed format-string error in exception call in template/init.py. Thanks for the patch, md@hudora.de

Files:

Legend:

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

    r3714 r3720  
    436436                i += 1 
    437437            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) 
    439439            i += 1 
    440440            res = subject[p:i]