diff options
Diffstat (limited to 'site_scons/site_tools/icecream.py')
-rw-r--r-- | site_scons/site_tools/icecream.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site_scons/site_tools/icecream.py b/site_scons/site_tools/icecream.py index aa088154765..c570c869fd7 100644 --- a/site_scons/site_tools/icecream.py +++ b/site_scons/site_tools/icecream.py @@ -182,13 +182,14 @@ def exists(env): pipe = SCons.Action._subproc(env, SCons.Util.CLVar(icecc) + ['--version'], stdin='devnull', - stderr='devnull', stdout=subprocess.PIPE, text=True) + stderr='devnull', stdout=subprocess.PIPE) if pipe.wait() != 0: return False validated = False for line in pipe.stdout: + line = line.decode('utf-8') if validated: continue # consume all data version_banner = re.search(r'^ICECC ', line) |