Skip to content

Commit 246b296

Browse files
authored
Merge pull request #8 from aclark4life/main
Remove feature to fetch upstream
2 parents c09f41c + 2a758fe commit 246b296

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: django_mongodb_cli/repo.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def install(repo, ctx, repo_names, all_repos):
148148
@pass_repo
149149
def update(repo, ctx, repo_names, all_repos):
150150
"""Update cloned repositories with `git pull`."""
151-
repos, url_pattern, _, _ = get_repos("pyproject.toml")
151+
repos, url_pattern, _ = get_repos("pyproject.toml")
152152
if repo_names:
153153
for repo_name in repo_names:
154154
for repo_entry in repos:
@@ -404,7 +404,7 @@ def test(
404404
@pass_repo
405405
def status(repo, ctx, repo_names, all_repos, reset):
406406
"""Repository status."""
407-
repos, url_pattern, _, _ = get_repos("pyproject.toml")
407+
repos, url_pattern, _ = get_repos("pyproject.toml")
408408
if repo_names:
409409
for repo_name in repo_names:
410410
not_found = set()
@@ -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)