Skip to content

Commit 2a758fe

Browse files
committed
Return on success of single repo status
1 parent c441cac commit 2a758fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: django_mongodb_cli/repo.py

+1
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ def status(repo, ctx, repo_names, all_repos, reset):
414414
== repo_name
415415
):
416416
repo_status(repo_entry, url_pattern, repo, reset=reset)
417+
return
417418
else:
418419
not_found.add(repo_name)
419420
click.echo(f"Repository '{not_found.pop()}' not found.")

0 commit comments

Comments
 (0)