diff options
Diffstat (limited to 'lldb/examples/python/lldbtk.py')
-rw-r--r-- | lldb/examples/python/lldbtk.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/examples/python/lldbtk.py b/lldb/examples/python/lldbtk.py index a978b9e0703..cac969e665e 100644 --- a/lldb/examples/python/lldbtk.py +++ b/lldb/examples/python/lldbtk.py @@ -539,19 +539,19 @@ def tk_variable_display(debugger, command, result, dict): sys.argv = ['tk-variables'] target = debugger.GetSelectedTarget() if not target: - print >>result, "invalid target" + print("invalid target", file=result) return process = target.GetProcess() if not process: - print >>result, "invalid process" + print("invalid process", file=result) return thread = process.GetSelectedThread() if not thread: - print >>result, "invalid thread" + print("invalid thread", file=result) return frame = thread.GetSelectedFrame() if not frame: - print >>result, "invalid frame" + print("invalid frame", file=result) return # Parse command line args command_args = shlex.split(command) @@ -573,11 +573,11 @@ def tk_process_display(debugger, command, result, dict): sys.argv = ['tk-process'] target = debugger.GetSelectedTarget() if not target: - print >>result, "invalid target" + print("invalid target", file=result) return process = target.GetProcess() if not process: - print >>result, "invalid process" + print("invalid process", file=result) return # Parse command line args columnd_dicts = [{'id': '#0', 'text': 'Name', 'anchor': W, 'stretch': 0}, @@ -598,7 +598,7 @@ def tk_target_display(debugger, command, result, dict): sys.argv = ['tk-target'] target = debugger.GetSelectedTarget() if not target: - print >>result, "invalid target" + print("invalid target", file=result) return # Parse command line args columnd_dicts = [{'id': '#0', 'text': 'Name', 'anchor': W, 'stretch': 0}, |