summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):