summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-04-24 13:02:07 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-04-24 13:35:40 -0400
commit3b2fb3741dc4df0a6578ba6485584bf6cc3fb586 (patch)
tree99760e7515503aad53beb61f49aa012c84789ac8 /site_scons
parent3d3322130b4269daf71327e78b0266ee217c3333 (diff)
downloadmongo-3b2fb3741dc4df0a6578ba6485584bf6cc3fb586.tar.gz
SERVER-40694 Make icecream.py site_tool support Python 3.5
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/icecream.py3
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)