aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap.py
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-20 16:40:01 +0200
committerKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-20 16:40:01 +0200
commit74e0d02c03094ddf52ea6cae0954e08b37f03dac (patch)
tree33cf13b435c15335d6891f6301bcfba59ac11b39 /python/servo/bootstrap.py
parent0b61cfc3ae803ac0f9deef937f890f83b24c9a35 (diff)
downloadservo-74e0d02c03094ddf52ea6cae0954e08b37f03dac.tar.gz
servo-74e0d02c03094ddf52ea6cae0954e08b37f03dac.zip
Fix Py3 failures when installing MSVC dependencies
Diffstat (limited to 'python/servo/bootstrap.py')
-rw-r--r--python/servo/bootstrap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py
index eb4cc84f36b..fc3e53bf871 100644
--- a/python/servo/bootstrap.py
+++ b/python/servo/bootstrap.py
@@ -271,7 +271,8 @@ def windows_msvc(context, force=False):
cmake_path = find_executable("cmake")
if cmake_path:
cmake = subprocess.Popen([cmake_path, "--version"], stdout=PIPE)
- cmake_version = cmake.stdout.read().splitlines()[0].replace("cmake version ", "")
+ cmake_version_output = six.ensure_str(cmake.stdout.read()).splitlines()[0]
+ cmake_version = cmake_version_output.replace("cmake version ", "")
if LooseVersion(cmake_version) >= LooseVersion(version):
return True
return False