From 1f592ecf82381f8689c4a4c6c863591679b2f665 Mon Sep 17 00:00:00 2001 From: Kristof Beyls Date: Fri, 8 Nov 2019 11:07:53 +0000 Subject: [PATCH] find_interesting_reviews.py: avoid crash on non-ascii data. --- llvm/utils/Reviewing/find_interesting_reviews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/Reviewing/find_interesting_reviews.py b/llvm/utils/Reviewing/find_interesting_reviews.py index 7bfbec8cfde9..a3b3ee6a7377 100644 --- a/llvm/utils/Reviewing/find_interesting_reviews.py +++ b/llvm/utils/Reviewing/find_interesting_reviews.py @@ -394,7 +394,7 @@ def print_most_recent_reviews(phab, days, filter_reviewers): def add_msg(msg): msgs.append(msg) - print(msg) + print(msg.encode('utf-8')) newest_reviews = get_most_recent_reviews(days) add_msg(u"These are the reviews that look interesting to be reviewed. " +