]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Fix Signed-off-by check with non-ASCII names 1691/head
author胡玮文 <huww98@outlook.com>
Tue, 27 Oct 2020 11:16:19 +0000 (19:16 +0800)
committerGitHub <noreply@github.com>
Tue, 27 Oct 2020 11:16:19 +0000 (19:16 +0800)
Blocking https://github.com/ceph/ceph/pull/37810 https://github.com/ceph/ceph/pull/37849

ceph-pr-commits/build/test_commits.py

index be58109839b374f4ce33078dd1cdb145c881ae1c..72d968b8dcb394eb61831d22745917ba131e3430 100644 (file)
@@ -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):