aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap.py
diff options
context:
space:
mode:
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