aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorGae24 <96017547+Gae24@users.noreply.github.com>2024-09-11 19:32:01 +0200
committerGitHub <noreply@github.com>2024-09-11 17:32:01 +0000
commit68246df89ec0055312ecbcff35ad9a1e7d381e84 (patch)
treecebe5d9480a0fd9121f12c519052b764dcbb27ea /python/servo/bootstrap_commands.py
parent23b0dc603c02db990ba793f61dbb6f82066416a8 (diff)
downloadservo-68246df89ec0055312ecbcff35ad9a1e7d381e84.tar.gz
servo-68246df89ec0055312ecbcff35ad9a1e7d381e84.zip
fix clean-cargo-cache command (#33408)
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
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 362509ffc3a..bce289f2b66 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -252,7 +252,7 @@ class MachCommands(CommandBase):
git_db_dir = path.join(git_dir, "db")
git_checkout_dir = path.join(git_dir, "checkouts")
if os.path.isdir(git_db_dir):
- git_db_list = filter(lambda f: not f.startswith('.'), os.listdir(git_db_dir))
+ git_db_list = list(filter(lambda f: not f.startswith('.'), os.listdir(git_db_dir)))
else:
git_db_list = []
if os.path.isdir(git_checkout_dir):