From de53ee6a3a3d345fd4b1e7f92428ca8e521d4de7 Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Fri, 18 Oct 2013 20:09:20 +0200 Subject: fix a python3 postinstall glitch I thought this post install bug was fixed long ago? --- pyside_postinstall.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyside_postinstall.py') diff --git a/pyside_postinstall.py b/pyside_postinstall.py index ec8146aba..a10aef789 100644 --- a/pyside_postinstall.py +++ b/pyside_postinstall.py @@ -78,6 +78,9 @@ def back_tick(cmd, ret_err=False): """ proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True) out, err = proc.communicate() + if not isinstance(out, str): + # python 3 + out = out.decode() retcode = proc.returncode if retcode is None: proc.terminate() -- cgit v1.2.3