From 0bc214c1028bbc33c101c7cc48c3f1a2dff6c663 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 24 Sep 2020 16:11:33 +0200 Subject: [PATCH] Fix pull --- spacy/cli/project/pull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/project/pull.py b/spacy/cli/project/pull.py index 3119d3a12..26676d5b3 100644 --- a/spacy/cli/project/pull.py +++ b/spacy/cli/project/pull.py @@ -51,7 +51,7 @@ def project_pull(project_dir: Path, remote: str, *, verbose: bool = False): update_lockfile(project_dir, cmd) # We remove the command from the list here, and break, so that # we iterate over the loop again. - commands.remove(i) + commands.pop(i) break else: # If we didn't break the for loop, break the while loop.