mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Handle missing login in changelog generate script (#1823)
This commit is contained in:
parent
7703fd0d31
commit
4e392f5c07
1 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,8 @@ def print_pulls(repo_name, title, pulls):
|
|||
print()
|
||||
for (pull, commit) in pulls:
|
||||
url = "https://github.com/{}/pull/{}".format(repo_name, pull.number)
|
||||
print("- {} [#{}]({}) ({})".format(pull.title, pull.number, url, commit.author.login))
|
||||
author = f"({commit.author.login})" if commit.author else ''
|
||||
print("- {} [#{}]({}) {}".format(pull.title, pull.number, url, author))
|
||||
print()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue