mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix UnicodeDecodeError in mach clean-nightlies
This commit is contained in:
parent
dd38c0969d
commit
6a3864de5f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue