summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/views/bundle.py
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 /apps/patchwork/views/bundle.py
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>
Diffstat (limited to 'apps/patchwork/views/bundle.py')
-rw-r--r--apps/patchwork/views/bundle.py4
1 files changed, 2 insertions, 2 deletions
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