Commit 4b7a743
committed
fix: Fix build in Python 3
Since Python 3 does not have a separate "unicode" type, we create an
alias to the "str" type for compatibility with Python 2. We do a type
check against "str" or "unicode" when parsing JSON to locate a node
binary in get_node_binary.
Closes #3102
Change-Id: Ib01fda64865052eed64e35b7856a8c392a3191441 parent 9a03712 commit 4b7a743
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
0 commit comments