summaryrefslogtreecommitdiff
path: root/tools/third_party.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/third_party.py')
-rw-r--r--tools/third_party.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/third_party.py b/tools/third_party.py
index d6c97f13b..65ff437b7 100644
--- a/tools/third_party.py
+++ b/tools/third_party.py
@@ -125,8 +125,8 @@ def run_cargo():
# If the lockfile ends up in the git repo, it'll make cargo hang for everyone
# else who tries to run sync_third_party.
def delete_lockfile():
- lockfiles = find_exts(
- path.join(rust_crates_path, "registry/index"), '.cargo-index-lock')
+ lockfiles = find_exts([path.join(rust_crates_path, "registry/index")],
+ ['.cargo-index-lock'])
for lockfile in lockfiles:
os.remove(lockfile)