summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2010-02-27 15:40:50 +0000
committerKaren Tracey <kmtracey@gmail.com>2010-02-27 15:40:50 +0000
commitaa8a98564c53cdb2cdc15d004b0a9e38ad10204f (patch)
treee3d0d84e336b4b5cf52711e85e1e0c8a267b81e0
parent499c7155132bf27479447d147053f619624a71ad (diff)
[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
-rw-r--r--django/template/__init__.py4
1 files 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