X-Git-Url: http://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=apps%2Fpatchwork%2Fviews%2Fbundle.py;h=3fb47e2fa5a91848e7b7eb95cb6d11076db9e78c;hp=c99e3222dca95dd17f04b337494e270edc2bde07;hb=04e6689193c778fcfbff192e8d34af1dadf6560e;hpb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8 diff --git a/apps/patchwork/views/bundle.py b/apps/patchwork/views/bundle.py index c99e322..3fb47e2 100644 --- a/apps/patchwork/views/bundle.py +++ b/apps/patchwork/views/bundle.py @@ -196,7 +196,7 @@ def mbox(request, username, bundlename): mbox = '\n'.join([patch_to_mbox(p).as_string(True) for p in bundle.ordered_patches()]) - response = HttpResponse(mimetype='text/plain') + response = HttpResponse(content_type='text/plain') response['Content-Disposition'] = \ 'attachment; filename=bundle-%d-%s.mbox' % (bundle.id, bundle.name)