Fix commands compatability with RB 1.6.x

Review Request #3884 — Created Feb. 18, 2013 and submitted

Information

RBTools
master

Reviewers

Fix commands compatability with RB 1.6.x

Review Board 1.6.x does not provide a 'capabilities' field in the info
resource which causes commands requiring it to fail. We now default
the capabilities to be empty if they can't be found on the server.
Posted code before and after the fix to a 1.6.x server and confirmed
the expected behaviour.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        rbtools/commands/__init__.py
      Ignored Files:
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
SM
Review request changed
Status:
Completed
Change Summary:
Pushed to master (bf8269e280e5cbd19ccaa50fda2be042ade66687).