From 83623f232a2acb154c70d6cf13b676d0c1c1c112 Mon Sep 17 00:00:00 2001 From: filimonov <1549571+filimonov@users.noreply.github.com> Date: Fri, 10 Jan 2020 14:34:02 +0100 Subject: [PATCH] fix printing changelog with non-ascii chars --- utils/make_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/make_changelog.py b/utils/make_changelog.py index 90d12844c33..808fafa6d92 100755 --- a/utils/make_changelog.py +++ b/utils/make_changelog.py @@ -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__':