Use the resource_mimetype decorator for DiffCommit resources

Review Request #7005 — Created March 3, 2015 and submitted

Information

RBTools
dvcs

Reviewers

We now use the new resource_mimetype decorator for the the new
API resources for handling review requests with commit history.

Unit tests pass.

Still able to post review requests with commit history to my local
server.

Description From Last Updated

Col: 1 E302 expected 2 blank lines, found 1

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/api/resource.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/resource.py
    
    
  2. rbtools/api/resource.py (Diff revision 1)
     
     
    Show all issues
    Col: 1
     E302 expected 2 blank lines, found 1
    
  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/api/resource.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/resource.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to dvcs (026c7b3)