]> git.ozlabs.org Git - patchwork/commitdiff
Replace tab characters with spaces on .py files
authorGuilherme Salgado <guilherme.salgado@linaro.org>
Wed, 9 Mar 2011 10:00:56 +0000 (10:00 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 30 Mar 2011 03:35:13 +0000 (11:35 +0800)
Signed-off-by: Guilherme Salgado <guilherme.salgado@linaro.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/tests/encodings.py
apps/patchwork/tests/utils.py
apps/patchwork/views/bundle.py

index db9848380076e4ead70d7db74c083ca1ac17099d..b9032bb7901f913d3a6ec3f9fa1cffbe08cbb871 100644 (file)
@@ -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)
index 02c4bd498b2a3ae0555f498e9a02e85a8e547f71..35c4beb140e6df7d8a8dba2c5772957c33cbf4aa 100644 (file)
@@ -40,7 +40,7 @@ class defaults(object):
 
     patch_author = 'Patch Author <patch-author@example.com>'
     patch_author_person = Person(name = 'Patch Author',
-            email = 'patch-author@example.com')
+        email = 'patch-author@example.com')
 
     comment_author = 'Comment Author <comment-author@example.com>'
 
index 54aa21da8ce1ddb2771d05b976aae9812a2d7d0e..d9db49096f5b52909e4e69da6fcfa32e5ae03788 100644 (file)
@@ -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