mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
fix printing changelog with non-ascii chars
This commit is contained in:
parent
44ff31fa63
commit
83623f232a
@ -455,7 +455,7 @@ def make_changelog(new_tag, prev_tag, pull_requests_nums, repo, repo_folder, sta
|
|||||||
# Remove double whitespaces and trailing whitespaces
|
# Remove double whitespaces and trailing whitespaces
|
||||||
changelog = re.sub(r' {2,}| +$', r''.format(repo), changelog)
|
changelog = re.sub(r' {2,}| +$', r''.format(repo), changelog)
|
||||||
|
|
||||||
print(changelog)
|
print(changelog.encode('utf-8'))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user