mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Fix changelog script
This commit is contained in:
parent
b5dd1b4d80
commit
1f1da04cbe
@ -253,7 +253,7 @@ def process_unknown_commits(commits, commits_info, users):
|
||||
# Returns False if the PR should not be mentioned changelog.
|
||||
def parse_one_pull_request(item):
|
||||
description = item['description']
|
||||
lines = [line for line in map(lambda x: x.strip(), description.split('\n')) if line]
|
||||
lines = [line for line in map(lambda x: x.strip(), description.split('\n') if description else []) if line]
|
||||
lines = [re.sub(r'\s+', ' ', l) for l in lines]
|
||||
|
||||
cat_pos = None
|
||||
|
Loading…
Reference in New Issue
Block a user