From: Raphael Isemann Date: Wed, 18 Nov 2020 08:58:02 +0000 (+0100) Subject: [lldb] Python3 byte<->string issue in patch-crashlog.py X-Git-Tag: llvmorg-13-init~5775 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fa38fa9a651553080620f4c9883d075df2a706e;p=platform%2Fupstream%2Fllvm.git [lldb] Python3 byte<->string issue in patch-crashlog.py --- diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py index a8aeb35..9616591c 100644 --- a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py +++ b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py @@ -24,7 +24,7 @@ class CrashLogPatcher: self.data = self.data.replace("@NAME@", os.path.basename(self.binary)) def patch_uuid(self): - output = subprocess.check_output(['dwarfdump', '--uuid', self.binary]) + output = subprocess.check_output(['dwarfdump', '--uuid', self.binary]).decode("utf-8") m = self.UUID_REGEX.match(output) if m: self.data = self.data.replace("@UUID@", m.group(1))