Fix usage of deprecated 'mimetype' parameter for HttpResponse.

Review Request #6256 — Created Aug. 21, 2014 and submitted

Information

Review Board
release-2.0.x
3bcb89f...

Reviewers

Django renamed the 'mimetype' parameter to 'content_type'. This change updates
our usages of it.

Ran unit tests.

Description From Last Updated

list comprehension redefines 'file_attachment' from line 578

reviewbotreviewbot
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/reviews/views.py
        reviewboard/webapi/resources/base_patched_file.py
        reviewboard/webapi/resources/base_original_file.py
        reviewboard/webapi/resources/filediff.py
        reviewboard/webapi/resources/diff.py
        reviewboard/admin/views.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/reviews/views.py
        reviewboard/webapi/resources/base_patched_file.py
        reviewboard/webapi/resources/base_original_file.py
        reviewboard/webapi/resources/filediff.py
        reviewboard/webapi/resources/diff.py
        reviewboard/admin/views.py
    
    
  2. reviewboard/reviews/views.py (Diff revision 1)
     
     
    Show all issues
     list comprehension redefines 'file_attachment' from line 578
    
  3. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (ea5f95c)