search for: byteify

Displaying 1 result from an estimated 1 matches for "byteify".

Did you mean: bytef
2018 Mar 12
1
[PATCH RHEL 7] RHEL 7: -o rhv-upload: Use Python 2 instead of Python
...top of .py files to make Python 2 accept that the file is UTF-8 (otherwise it gives an error on loading). However I added this and it didn't appear to make any difference, I still had to replace the Unicode quotes with ASCII ones, so I don't know what's going on there. * The ‘byteify’ function is a bit of a hack, but required here because the Python 2 json library returns unicode objects where all the rest of the libraries are expecting str. Not needed in Python 3 of course. Rich.