From 41c30f2fb86f32c19a61f37d890967d000ad5d90 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 27 Feb 2010 05:38:17 +0000 Subject: [PATCH] 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 --- django/contrib/formtools/preview.py | 8 ++++---- django/template/__init__.py | 2 +- 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):