Skip to content

Commit c77aefb

Browse files
committed
[lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py
1 parent a75b2e8 commit c77aefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def patch_uuid(self):
3232
def patch_addresses(self):
3333
if not self.offsets:
3434
return
35-
output = subprocess.check_output(['nm', self.binary])
35+
output = subprocess.check_output(['nm', self.binary]).decode("utf-8")
3636
for line in output.splitlines():
3737
m = self.SYMBOL_REGEX.match(line)
3838
if m:

0 commit comments

Comments
 (0)