mirror of https://github.com/explosion/spaCy.git
Fix pull
This commit is contained in:
parent
d7ab6a2ffe
commit
0bc214c102
|
@ -51,7 +51,7 @@ def project_pull(project_dir: Path, remote: str, *, verbose: bool = False):
|
||||||
update_lockfile(project_dir, cmd)
|
update_lockfile(project_dir, cmd)
|
||||||
# We remove the command from the list here, and break, so that
|
# We remove the command from the list here, and break, so that
|
||||||
# we iterate over the loop again.
|
# we iterate over the loop again.
|
||||||
commands.remove(i)
|
commands.pop(i)
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
# If we didn't break the for loop, break the while loop.
|
# If we didn't break the for loop, break the while loop.
|
||||||
|
|
Loading…
Reference in New Issue