From e9ae32f5e2d6fb9fc60fa7600d5b79292b9e44ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=83=A1=E7=8E=AE=E6=96=87?= Date: Tue, 27 Oct 2020 19:16:19 +0800 Subject: [PATCH] Fix Signed-off-by check with non-ASCII names Blocking https://github.com/ceph/ceph/pull/37810 https://github.com/ceph/ceph/pull/37849 --- ceph-pr-commits/build/test_commits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-pr-commits/build/test_commits.py b/ceph-pr-commits/build/test_commits.py index be581098..72d968b8 100644 --- a/ceph-pr-commits/build/test_commits.py +++ b/ceph-pr-commits/build/test_commits.py @@ -26,7 +26,7 @@ class TestCommits(object): @classmethod def command(cls, command): print("Running command:", command) - return check_output(shlex.split(command), cwd=cls.ceph_checkout).decode(errors='ignore') + return check_output(shlex.split(command), cwd=cls.ceph_checkout).decode(encoding='utf-8', errors='ignore') @classmethod def setup_class(cls): -- 2.39.5