Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions django_mongodb_cli/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def install(repo, ctx, repo_names, all_repos):
@pass_repo
def update(repo, ctx, repo_names, all_repos):
"""Update cloned repositories with `git pull`."""
repos, url_pattern, _, _ = get_repos("pyproject.toml")
repos, url_pattern, _ = get_repos("pyproject.toml")
if repo_names:
for repo_name in repo_names:
for repo_entry in repos:
Expand Down Expand Up @@ -404,7 +404,7 @@ def test(
@pass_repo
def status(repo, ctx, repo_names, all_repos, reset):
"""Repository status."""
repos, url_pattern, _, _ = get_repos("pyproject.toml")
repos, url_pattern, _ = get_repos("pyproject.toml")
if repo_names:
for repo_name in repo_names:
not_found = set()
Expand All @@ -414,6 +414,7 @@ def status(repo, ctx, repo_names, all_repos, reset):
== repo_name
):
repo_status(repo_entry, url_pattern, repo, reset=reset)
return
else:
not_found.add(repo_name)
click.echo(f"Repository '{not_found.pop()}' not found.")
Expand Down