Fix up some unicode vs. bytes issues in rbtools.api
Review Request #9535 — Created Jan. 25, 2018 and submitted
There are a handful of places that were using the wrong data type within
the API wrappers in RBTools. This worked fine in Python 2 because
they're freely convertable, but would crash or otherwise fail under
Python 3. This change fixes those up.
Ran unit tests under Python 2.7 and 3.6.
-
-
-
rbtools/api/request.py (Diff revision 1) Might as well combine these. Doesn't look like we're re-using the request after this.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+17 -17) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.