Allow iterating of resource fields

Review Request #3911 — Created Feb. 24, 2013 and submitted

Information

RBTools
master

Reviewers

Allow iterating of resource fields

Resources now have an 'iter_fields' method which can be used to
iterate over the resources fields.

Also add logging of http requests

The method and url of any api request made using the sync transport
will now be logged.
Tested commands using -d option and observed logging of requests. Iterated the fields of several resources using the interactive interpreter.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/resource.py
      Ignored Files:
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
SM
Review request changed
Status:
Completed
Change Summary:
Pushed to master (52474fc46a529b39db659ff07dbaa63c9ba45587, 5fa345d83584fbea865fadcf122858f083f27f79).