]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pr-commits: skip non-ascii chars 1682/head
authorKefu Chai <kchai@redhat.com>
Wed, 7 Oct 2020 09:03:08 +0000 (17:03 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 7 Oct 2020 09:03:34 +0000 (17:03 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-pr-commits/build/test_commits.py

index 315a80024ea227134f2e85eec131391a378b542f..be58109839b374f4ce33078dd1cdb145c881ae1c 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()
+        return check_output(shlex.split(command), cwd=cls.ceph_checkout).decode(errors='ignore')
 
     @classmethod
     def setup_class(cls):