mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge pull request #16557 from abyss7/fix-make_changelog
Fix make_changelog.py
This commit is contained in:
commit
038da31204
@ -262,7 +262,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 [x.strip() for x in description.split('\n') if description else []] if line]
|
||||
lines = [line for line in [x.strip() for x in description.split('\n')] if line] if description else []
|
||||
lines = [re.sub(r'\s+', ' ', l) for l in lines]
|
||||
|
||||
cat_pos = None
|
||||
|
Loading…
Reference in New Issue
Block a user