From 2fa38fa9a651553080620f4c9883d075df2a706e Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Wed, 18 Nov 2020 09:58:02 +0100 Subject: [lldb] Python3 byte<->string issue in patch-crashlog.py --- lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test/Shell/ScriptInterpreter/Python') diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py index a8aeb357..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)) -- cgit v1.1