summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-02-27 05:38:17 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-02-27 05:38:17 +0000
commit41c30f2fb86f32c19a61f37d890967d000ad5d90 (patch)
tree8feb33b0a7161aa04274ef3218e2c937238e0287
parentc9151bcba1533756fc6e540c6fb599ed037267a8 (diff)
Fixed #12981 -- Removed some stray tabs. Thanks to loewis for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/formtools/preview.py8
-rw-r--r--django/template/__init__.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/django/contrib/formtools/preview.py b/django/contrib/formtools/preview.py
index f3d86ee037..f202084da3 100644
--- a/django/contrib/formtools/preview.py
+++ b/django/contrib/formtools/preview.py
@@ -99,10 +99,10 @@ class FormPreview(object):
def process_preview(self, request, form, context):
"""
- Given a validated form, performs any extra processing before displaying
- the preview page, and saves any extra data in context.
- """
- pass
+ Given a validated form, performs any extra processing before displaying
+ the preview page, and saves any extra data in context.
+ """
+ pass
def security_hash(self, request, form):
"""
diff --git a/django/template/__init__.py b/django/template/__init__.py
index 203b5e7582..a07cb7310e 100644
--- a/django/template/__init__.py
+++ b/django/template/__init__.py
@@ -432,7 +432,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):