The LLDB wrapper can handle None
as output from the Python lldb module
This commit is contained in:
parent
44cc26204e
commit
8842555cac
@ -213,6 +213,8 @@ class Debugger(object):
|
||||
|
||||
|
||||
def prefix_output(output, prefix):
|
||||
if output is None:
|
||||
output = ''
|
||||
lines = output.split('\n')
|
||||
lines = [prefix + line for line in lines]
|
||||
prefixed_output = '\n'.join(lines)
|
||||
|
Loading…
Reference in New Issue
Block a user