Fix a couple more issues with attachments with bogus mimetypes.

Review Request #7048 — Created March 12, 2015 and submitted

Information

Review Board
release-2.0.x
78421f1...

Reviewers

This fixes up a couple more crashes that happen when browsers and the 'file'
command give us a bogus mimetype.

Attached the given outlook .msg file in the bug and saw that everything worked
correctly.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/attachments/mimetypes.py
        reviewboard/attachments/forms.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/attachments/mimetypes.py
        reviewboard/attachments/forms.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (a5b5133)