From aa8a98564c53cdb2cdc15d004b0a9e38ad10204f Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sat, 27 Feb 2010 15:40:50 +0000 Subject: [PATCH] [1.1.X] Fixed #12981 -- Removed some stray tabs. Thanks to loewis for the report. Backport of the applicable part of r12614 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12615 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/template/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/template/__init__.py b/django/template/__init__.py index f405e46664..25904dafef 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -422,7 +422,7 @@ class TokenParser(object): i += 1 if i >= len(subject): raise TemplateSyntaxError("Searching for value. Unexpected end of string in column %d: %s" % (i, subject)) - i += 1 + i += 1 return i if i >= len(subject): @@ -811,7 +811,7 @@ class TextNode(Node): def render(self, context): return self.s - + def _render_value_in_context(value, context): """ Converts any value to a string to become part of a rendered template. This