summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_script/import/bar/bar.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/command_script/import/bar/bar.py')
-rw-r--r--lldb/test/functionalities/command_script/import/bar/bar.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/functionalities/command_script/import/bar/bar.py b/lldb/test/functionalities/command_script/import/bar/bar.py
index 28a4488fa70..bbc41f3b217 100644
--- a/lldb/test/functionalities/command_script/import/bar/bar.py
+++ b/lldb/test/functionalities/command_script/import/bar/bar.py
@@ -1,6 +1,8 @@
+from __future__ import print_function
+
def bar_function(debugger, args, result, dict):
global UtilityModule
- print >>result, (UtilityModule.barutil_function("bar told me " + args))
+ print(UtilityModule.barutil_function("bar told me " + args), file=result)
return None
def __lldb_init_module(debugger, session_dict):
OpenPOWER on IntegriCloud