implicit return fixed

This commit is contained in:
pseusys
2023-03-11 22:26:13 +01:00
parent 559b68bd8b
commit 4cea8cebbf

View File

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