From patchwork Wed Mar 9 20:00:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guilherme Salgado X-Patchwork-Id: 86153 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 8978AB6F8C for ; Thu, 10 Mar 2011 07:01:08 +1100 (EST) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by ozlabs.org (Postfix) with ESMTP id A738CB6F7A for ; Thu, 10 Mar 2011 07:01:01 +1100 (EST) Received: from youngberry.canonical.com ([91.189.89.112]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PxPZ5-0006nL-LB; Wed, 09 Mar 2011 20:00:59 +0000 Received: from [187.126.154.250] (helo=feioso) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PxPZ5-0004Sq-B2; Wed, 09 Mar 2011 20:00:59 +0000 Received: from localhost6.localdomain6 (localhost.localdomain [127.0.0.1]) by feioso (Postfix) with ESMTP id 5163C41ABE; Wed, 9 Mar 2011 17:00:56 -0300 (BRT) Subject: [PATCH] Replace tab characters with spaces on .py files. To: patchwork@lists.ozlabs.org From: Guilherme Salgado Date: Wed, 09 Mar 2011 17:00:56 -0300 Message-ID: <20110309200036.17349.74700.stgit@localhost6.localdomain6> User-Agent: StGit/0.15 MIME-Version: 1.0 Cc: patches@linaro.org X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Signed-off-by: Guilherme Salgado --- New version which applies cleanly on latest master branch. apps/patchwork/tests/encodings.py | 2 +- apps/patchwork/tests/utils.py | 2 +- apps/patchwork/views/bundle.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/patchwork/tests/encodings.py b/apps/patchwork/tests/encodings.py index db98483..b9032bb 100644 --- a/apps/patchwork/tests/encodings.py +++ b/apps/patchwork/tests/encodings.py @@ -70,7 +70,7 @@ class UTF8HeaderPatchViewTest(UTF8PatchViewTest): def setUp(self): defaults.project.save() self.patch_author = Person(name = self.patch_author_name, - email = defaults.patch_author_person.email) + email = defaults.patch_author_person.email) self.patch_author.save() self.patch_content = read_patch(self.patch_filename, encoding = self.patch_encoding) diff --git a/apps/patchwork/tests/utils.py b/apps/patchwork/tests/utils.py index 02c4bd4..35c4beb 100644 --- a/apps/patchwork/tests/utils.py +++ b/apps/patchwork/tests/utils.py @@ -40,7 +40,7 @@ class defaults(object): patch_author = 'Patch Author ' patch_author_person = Person(name = 'Patch Author', - email = 'patch-author@example.com') + email = 'patch-author@example.com') comment_author = 'Comment Author ' diff --git a/apps/patchwork/views/bundle.py b/apps/patchwork/views/bundle.py index 54aa21d..d9db490 100644 --- a/apps/patchwork/views/bundle.py +++ b/apps/patchwork/views/bundle.py @@ -113,7 +113,7 @@ def bundles(request): form = DeleteBundleForm(request.POST) if form.is_valid(): bundle = get_object_or_404(Bundle, - id = form.cleaned_data['bundle_id']) + id = form.cleaned_data['bundle_id']) bundle.delete() bundles = Bundle.objects.filter(owner = request.user) @@ -173,7 +173,7 @@ def mbox(request, bundle_id): bundle = get_object_or_404(Bundle, id = bundle_id) response = HttpResponse(mimetype='text/plain') response['Content-Disposition'] = 'attachment; filename=bundle-%d.mbox' % \ - bundle.id + bundle.id response.write(bundle.mbox()) return response