aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-05-13 17:49:37 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-05-13 17:49:37 +0200
commit6a3864de5fd945c9250d81e43d2ed649d198143e (patch)
tree2940e664bbe53d3d82a3a3e3073e9ed98c56dccf /python/servo/bootstrap_commands.py
parentdd38c0969da04ff93b819cdc1d993bd67198bb65 (diff)
downloadservo-6a3864de5fd945c9250d81e43d2ed649d198143e.tar.gz
servo-6a3864de5fd945c9250d81e43d2ed649d198143e.zip
Fix UnicodeDecodeError in mach clean-nightlies
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index da182198ac4..a798184ebdd 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -321,7 +321,7 @@ class MachCommands(CommandBase):
)
stdout, _ = cmd.communicate()
for line in stdout.splitlines():
- if line.startswith("+") and not line.startswith("+++"):
+ if line.startswith(b"+") and not line.startswith(b"+++"):
to_keep[tool].add(line[1:])
removing_anything = False