diff options
author | Olaf Hering <olaf@aepfle.de> | 2017-12-19 09:11:32 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2017-12-19 09:12:24 +0100 |
commit | b2df4fb8a01939e16dde289503e0ba166c20ccdd (patch) | |
tree | 3a2c4f8a45ce1d1f6a26e29da37547e038e92b80 /build/qt5.py | |
parent | ebc2eed9849ee4ac30f296873740821d9f0bf46b (diff) |
build: convert default_qtdir from bytes into string
Python3 is picky about byte vs. str variables. From their docs:
...
communicate() returns a tuple (stdout_data, stderr_data). The data will
be strings if streams were opened in text mode; otherwise, bytes.
...
The value returned by Popen() is 'bytes', it is later used together with 'str'.
Python3 rejects a mixture of 'byte' and 'str'.
Change the value of default_qtdir to type 'str'.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'build/qt5.py')
0 files changed, 0 insertions, 0 deletions