Don't try to decode responses from HTTP DELETE calls to the API.

Review Request #6097 — Created July 10, 2014 and submitted

Information

RBTools
release-0.6.x
fe25e0b...

Reviewers

Successful DELETE on an API resource will return HTTP 204 and an empty payload.
In the case where this call succeeds, we shouldn't try to JSON decode the
result because it won't work.

Deleted a repository using the RBTools API and didn't see the traceback
anymore.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/transport/sync.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/api/transport/sync.py
    
    
  2. 
      
chipx86
  1. Ship It!

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