Merge pull request #8611 from ClickHouse/make_changelog_unicode_output2

fix printing changelog with non-ascii chars
This commit is contained in:
alexey-milovidov 2020-01-10 16:41:19 +03:00 committed by GitHub
commit b8d719d45c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,7 +455,7 @@ def make_changelog(new_tag, prev_tag, pull_requests_nums, repo, repo_folder, sta
# Remove double whitespaces and trailing whitespaces
changelog = re.sub(r' {2,}| +$', r''.format(repo), changelog)
print(changelog)
print(changelog.encode('utf-8'))
if __name__ == '__main__':