This commit is contained in:
Matthew Honnibal 2020-09-24 16:11:33 +02:00
parent d7ab6a2ffe
commit 0bc214c102

View File

@ -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.