فهرست منبع

"Bump 1.24.0-rc1"

Signed-off-by: Djordje Lukic <[email protected]>
Djordje Lukic 6 سال پیش
والد
کامیت
0f3d4ddaa7
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      script/release/release/repository.py

+ 2 - 0
script/release/release/repository.py

@@ -219,6 +219,8 @@ def get_contributors(pr_data):
     commits = pr_data.get_commits()
     authors = {}
     for commit in commits:
+        if not commit.author:
+            continue
         author = commit.author.login
         authors[author] = authors.get(author, 0) + 1
     return [x[0] for x in sorted(list(authors.items()), key=lambda x: x[1])]