commit | 52d3ffa3b2eedef65c2bca5b6950a4ecbffb035a | [log] [tgz] |
---|---|---|
author | Andrea Frittoli <andrea.frittoli@gmail.com> | Tue Dec 13 18:17:45 2016 +0000 |
committer | Andrea Frittoli <andrea.frittoli@gmail.com> | Tue Dec 13 18:47:30 2016 +0000 |
tree | 37ddd4c24d593d026601691857880443ae5bc84e | |
parent | 7322467e0ba75694d867cf0513bb2378295a0dca [diff] |
Fix a few Python 3.x issues Automatic casting does not happen anymore in 3.x, which causes an issues when comparing strings with ints. Bytes are actually strings in py2.7, but it's not possible to concatenate bytes and strings in py3.x or to search for a string in an array of bytes. Change-Id: I787f8f0e371beb314a39cf036c56e21ed0fba6e6