]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/views/bundle.py
views: Replace 'mimetype' with 'content_type'
[patchwork] / apps / patchwork / views / bundle.py
index c99e3222dca95dd17f04b337494e270edc2bde07..3fb47e2fa5a91848e7b7eb95cb6d11076db9e78c 100644 (file)
@@ -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)