mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Update utils/make_changelog.py
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
parent
5481fcdf42
commit
9828ed9550
@ -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] 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