From 4cea8cebbf66575ba649ee7376c21a256748a987 Mon Sep 17 00:00:00 2001 From: pseusys Date: Sat, 11 Mar 2023 22:26:13 +0100 Subject: [PATCH] implicit return fixed --- sources/yearly_commit_calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/yearly_commit_calculator.py b/sources/yearly_commit_calculator.py index 10e2732..3106db9 100644 --- a/sources/yearly_commit_calculator.py +++ b/sources/yearly_commit_calculator.py @@ -57,7 +57,7 @@ async def update_data_with_commit_stats(repo_details: Dict, yearly_data: Dict, d branch_data = await DM.get_remote_graphql("repo_branch_list", owner=owner, name=repo_details["name"]) if branch_data["data"]["repository"] is None: DBM.w(f"\t\tSkipping repo: {repo_details['name']}") - return dict() + return for branch in branch_data["data"]["repository"]["refs"]["nodes"]: commit_data = await DM.get_remote_graphql("repo_commit_list", owner=owner, name=repo_details["name"], branch=branch["name"], id=GHM.USER.node_id)