Skip to content

Commit

Permalink
Add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Jan 2, 2024
1 parent 12dd74c commit eeb1c86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make_help_scripts/create_pr_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ def get_pr_stats(owner, repos, branches, whitelist, blacklist, earliest_date="")

for commits in get_all_pages(commits_url):
for commit in commits:
if commit['author'] is None:
print('No author in commit: ' + commit['url'])
continue
contributor_login = commit['author']['login']
if contributor_login in blacklist:
continue
Expand Down

0 comments on commit eeb1c86

Please sign in to comment.