Fix a Python 2.6 incompatibility with unicode keywords and lambdas.

Review Request #7357 — Created May 31, 2015 and submitted

Information

RBTools
release-0.7.x
45c9891...

Reviewers

The API's create method uses a lambda for its implementation, and apparently
some Python 2.6.x versions have an incompatibility with passing in unicode
kwarg names for lambdas. This change fixes those up to use bytes, and adds a
comment explaining why.

Posted this change.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/commands/post.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/post.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.7.x (0fc7be8)
Loading...