summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Salgado <guilherme.salgado@linaro.org>2011-03-09 10:00:56 +0000
committerJeremy Kerr <jk@ozlabs.org>2011-03-30 11:35:13 +0800
commita16f6f8afd0e9487cb3d9b8041f24c7496330086 (patch)
tree3613a6b23f2a7b4910054a747addf20366821a62
parentd558686a05339b18d33d6ba9688acd9f35ad9a36 (diff)
downloadpatchwork-a16f6f8afd0e9487cb3d9b8041f24c7496330086.tar.bz2
patchwork-a16f6f8afd0e9487cb3d9b8041f24c7496330086.tar.xz
Replace tab characters with spaces on .py files
Signed-off-by: Guilherme Salgado <guilherme.salgado@linaro.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--apps/patchwork/tests/encodings.py2
-rw-r--r--apps/patchwork/tests/utils.py2
-rw-r--r--apps/patchwork/views/bundle.py4
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@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>'
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