Author: adrian
Date: 2006-09-04 19:19:50 -0500 (Mon, 04 Sep 2006)
New Revision: 3720

Modified:
   django/trunk/django/template/__init__.py
Log:
Fixed #2645 -- Fixed format-string error in exception call in 
template/__init__.py. Thanks for the patch, [EMAIL PROTECTED]

Modified: django/trunk/django/template/__init__.py
===================================================================
--- django/trunk/django/template/__init__.py    2006-09-04 23:56:09 UTC (rev 
3719)
+++ django/trunk/django/template/__init__.py    2006-09-05 00:19:50 UTC (rev 
3720)
@@ -435,7 +435,7 @@
             while i < len(subject) and subject[i] != subject[p]:
                 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
             res = subject[p:i]
             while i < len(subject) and subject[i] in (' ', '\t'):


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to