• 
      

    Stop passing unicode keys to **kwargs

    Review Request #4003 — Created March 26, 2013 and discarded — Latest diff uploaded

    Information

    RBTools
    master

    Reviewers

    Stop passing unicode keys to **kwargs
    
    Python < 2.6.5 will raise an exception if a any unicode keys are
    passed to **kwargs. When generating link objects from fields inside a
    resource (e.g. The target_people field on a review request) the
    dictionary decoded from the JSON payload was passed as **kwargs to
    initialize the object. Since the JSON decodes to unicode, older python
    versions were crashing here.