From 6a3864de5fd945c9250d81e43d2ed649d198143e Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sat, 13 May 2017 17:49:37 +0200 Subject: [PATCH] Fix UnicodeDecodeError in mach clean-nightlies --- python/servo/bootstrap_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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